mirror of
https://github.com/TheM1Stery/izanami.git
synced 2025-04-19 16:31: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);
|
||||
}
|
||||
}
|
||||
Ok(_) => {
|
||||
for token in tokens.unwrap() {
|
||||
Ok(tokens) => {
|
||||
for token in tokens {
|
||||
println!("{}", token);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user