Skip to content

Commit 387c795

Browse files
authored
2 small typos in ruleconfig.md
1 parent 1d076fa commit 387c795

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/rule_author/superpowers/ruleconfig.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ struct EnzymeRuleConfig <: RuleConfig{Union{SupportsMutation, HasReverseMode, No
8585
```
8686

8787
Note: you can only depend on the presence of a feature, not its absence.
88-
This means we may need to define features and their compliments, when one is not the obvious default (as in the fast of [`HasReverseMode`](@ref)/[`NoReverseMode`](@ref) and [`HasForwardsMode`](@ref)/[`NoForwardsMode`](@ref).).
88+
This means we may need to define features and their complements, when one is not the obvious default (as in the fast of [`HasReverseMode`](@ref)/[`NoReverseMode`](@ref) and [`HasForwardsMode`](@ref)/[`NoForwardsMode`](@ref).).
8989

9090

91-
Such special properties generally should only be defines in `ChainRulesCore`.
91+
Such special properties generally should only be defined in `ChainRulesCore`.
9292
(Theoretically, they could be defined elsewhere, but the AD and the package containing the rule need to load them, and ChainRulesCore is the place for things like that.)
9393

9494

0 commit comments

Comments
 (0)