diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-03-03 23:32:29 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-03-03 23:32:29 +0100 |
| commit | 5157c1e276b1314b345bb8215b5a89a2ccb9c5d7 (patch) | |
| tree | e608628322d573e9dc141e44ddb9a799cc702579 /src/eval/capture.rs | |
| parent | 34f839c7177a041c187ae6103455cd875c4f3d22 (diff) | |
Documentation fixes ✔
Diffstat (limited to 'src/eval/capture.rs')
| -rw-r--r-- | src/eval/capture.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval/capture.rs b/src/eval/capture.rs index 05760594..182468f7 100644 --- a/src/eval/capture.rs +++ b/src/eval/capture.rs @@ -32,7 +32,7 @@ impl<'ast> Visit<'ast> for CapturesVisitor<'_> { match node { Expr::Ident(ident) => { // Find out whether the identifier is not locally defined, but - // captured, and if so, replace it with its value. + // captured, and if so, capture its value. if self.internal.get(ident).is_none() { if let Some(slot) = self.external.get(ident) { self.captures.def_slot(ident.as_str(), Rc::clone(slot)); |
