Skip to content

Commit 3e11e62

Browse files
authored
Merge pull request #537 from Jutho/patch-1
2 small typos in ruleconfig.md
2 parents 1d076fa + 237b6ab commit 3e11e62

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 case 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)