mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-01 16:29:18 +00:00
Checker fix
This commit is contained in:
parent
2b5356aab5
commit
b210fdf9ee
@ -12,7 +12,7 @@ fn main() {
|
|||||||
Ok(contents) => {
|
Ok(contents) => {
|
||||||
assert_eq!("This is the file content.", contents);
|
assert_eq!("This is the file content.", contents);
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(_) => {
|
||||||
panic!("Error reading file.");
|
panic!("Error reading file.");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user