Fix wording in "Fold" pattern (#69)

Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
pull/51/head^2
wangcong 3 years ago committed by GitHub
parent 85efbe7fc3
commit 66ce03a774
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -100,7 +100,7 @@ exclusively, the original copy of the data structure cannot be re-used. On the
other hand if a node is not changed, reusing it is very efficient.
If we were to operate on borrowed references, the original data structure can be
reused, however, if a node is unchanged it must be cloned, which can be
reused; however, a node must be cloned even if unchanged, which can be
expensive.
Using a reference counted pointer gives the best of both worlds - we can reuse

Loading…
Cancel
Save