Skip to content

Commit b6cf13f

Browse files
authored
Improve comments
1 parent d19a203 commit b6cf13f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ChainRules.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
module ChainRules
22
using Reexport
33
@reexport using ChainRulesCore
4-
# basically everything this package does is overloading these
4+
# Basically everything this package does is overloading these, so we make an exception
5+
# to the normal rule of only overload via `AbstractChainRules.rrule`.
56
import ChainRulesCore: rrule, frule
67

7-
# deal with name clashes
8+
# Deal with name clashes, by defining in this module which one we mean.
89
const accumulate = ChainRulesCore.accumulate
910
const accumulate! = ChainRulesCore.accumulate!
1011

0 commit comments

Comments
 (0)