Skip to content

Commit 9156b3c

Browse files
committed
Fix typo in comment
1 parent b9cd48b commit 9156b3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/varname.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ subsumes(t::ComposedOptic, u::ComposedOptic) =
302302
# If `t` is still a composed lens, then there is no way it can subsume `u` since `u` is a
303303
# leaf of the "lens-tree".
304304
subsumes(t::ComposedOptic, u::PropertyLens) = false
305-
# Here we need to check if `u.outer` (i.e. the next lens to be applied from `u`) is
305+
# Here we need to check if `u.inner` (i.e. the next lens to be applied from `u`) is
306306
# subsumed by `t`, since this would mean that the rest of the composition is also subsumed
307307
# by `t`.
308308
subsumes(t::PropertyLens, u::ComposedOptic) = subsumes(t, u.inner)

0 commit comments

Comments
 (0)