aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdvard Thörnros <edvard.thornros@gmail.com>2021-02-18 19:55:03 +0100
committerGitHub <noreply@github.com>2021-02-18 19:55:03 +0100
commit31d68bc738c2973c6f018e38a0fb89f6e233f444 (patch)
treec1195f18dc7e30c93ccf38628c5c9bf525776467
parentf7bf054ac41f6bc31f1f6c4229357cca36f1d708 (diff)
downloadsylt-31d68bc738c2973c6f018e38a0fb89f6e233f444.tar.gz
fix grammer in commment
Co-authored-by: Gustav Sörnäs <gustav@sornas.net>
-rw-r--r--src/compiler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.rs b/src/compiler.rs
index 7b9fd9a..a3066b0 100644
--- a/src/compiler.rs
+++ b/src/compiler.rs
@@ -394,7 +394,7 @@ impl Compiler {
&mut self.frames[last]
}
- /// Marks a variable as read, also marks upvalues.
+ /// Marks a variable as read. Also marks upvalues.
fn mark_read(&mut self, frame_id: usize, var: &Variable) {
// Early out
if var.read {