aboutsummaryrefslogtreecommitdiff
path: root/rprt-engine/src/parser.rs
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2025-10-18 20:19:32 +0100
committertslil <tslil@posteo.de>2025-10-18 22:01:42 +0100
commit16f0479a4e43a58c04796e9aa4d43d92b2655024 (patch)
treee42df3fd31313dc362a827ff6f3c80c440ddb40b /rprt-engine/src/parser.rs
parent02c7b10c407982ca117098bd64358a8bb910bd3a (diff)
Add display implementations for Composite, and a BQN-like explainer
Diffstat (limited to 'rprt-engine/src/parser.rs')
-rw-r--r--rprt-engine/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rprt-engine/src/parser.rs b/rprt-engine/src/parser.rs
index c98d977..78c28c0 100644
--- a/rprt-engine/src/parser.rs
+++ b/rprt-engine/src/parser.rs
@@ -4,7 +4,7 @@ use crate::token::*;
#[derive(Debug, Clone)]
pub enum ParseError {
UnexpectedToken {
- found: Token, // Own the token, don't borrow it
+ found: Token,
expecting: &'static str,
},
UnexpectedEndOfInput {