diff --git a/rust/src/scanner.rs b/rust/src/scanner.rs
index d8c9121..e3adf0e 100644
--- a/rust/src/scanner.rs
+++ b/rust/src/scanner.rs
@@ -144,6 +144,7 @@ impl<'a> Scanner<'a> {
}
if self.peek().is_none() {
+ // Maybe this should return an Err?
return self.error_token("Unterminated string.");
}