summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-01-13 18:43:18 +0100
committerLaurenz <laurmaedje@gmail.com>2022-01-13 18:43:18 +0100
commitb3062ee8804580f65d5232846f1ccd199b2ff1c7 (patch)
treed0a9f3333a2cabd3c090d9e059f4e23da72106ec /src/parse
parent8013a0d0e6c282f3d0ddc8e9734bb298831bceb7 (diff)
Make use of new Rust 1.58 formatting feature
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/tokens.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parse/tokens.rs b/src/parse/tokens.rs
index 69c4d2de..840a68e1 100644
--- a/src/parse/tokens.rs
+++ b/src/parse/tokens.rs
@@ -683,9 +683,9 @@ mod tests {
T: Debug + PartialEq,
{
if found != expected {
- println!("source: {:?}", src);
- println!("expected: {:#?}", expected);
- println!("found: {:#?}", found);
+ println!("source: {src:?}");
+ println!("expected: {expected:#?}");
+ println!("found: {found:#?}");
panic!("test failed");
}
}