Skip to content

Commit

Permalink
fix(parser): typo in assert message.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Mar 7, 2024
1 parent 8b311e1 commit 41c00e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fuse-parser/src/lexer/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl<'a> Source<'a> {
assert!(
src.len() <= crate::MAX_SOURCE_SIZE,
"Input source code can not be larger than {} bytes.",
src.len()
crate::MAX_SOURCE_SIZE
);
let start = src.as_ptr();
// SAFETY: Start of source + length of it gives us the end pointer.
Expand Down

0 comments on commit 41c00e8

Please sign in to comment.