mirror of
https://github.com/TheM1Stery/izanami.git
synced 2025-04-20 00:41:11 +00:00
fix: use the value from matching instead of unwrapping
This commit is contained in:
parent
cd5fae595c
commit
4df4107b77
@ -28,8 +28,8 @@ pub fn run(src: &str) {
|
|||||||
report(err.line, "", &err.msg);
|
report(err.line, "", &err.msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ok(_) => {
|
Ok(tokens) => {
|
||||||
for token in tokens.unwrap() {
|
for token in tokens {
|
||||||
println!("{}", token);
|
println!("{}", token);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user