Skip to content

Commit 89002d0

Browse files
authored
Merge branch 'master' into catch_panic_anti_pattern
2 parents 6baea7e + 66ce03a commit 89002d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/fold.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ exclusively, the original copy of the data structure cannot be re-used. On the
100100
other hand if a node is not changed, reusing it is very efficient.
101101

102102
If we were to operate on borrowed references, the original data structure can be
103-
reused, however, if a node is unchanged it must be cloned, which can be
103+
reused; however, a node must be cloned even if unchanged, which can be
104104
expensive.
105105

106106
Using a reference counted pointer gives the best of both worlds - we can reuse

0 commit comments

Comments
 (0)