Skip to content

Commit

Permalink
Update example warning
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Nov 1, 2024
1 parent 140f5c3 commit 7fb487d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fn increment_last_manually(arr: &mut [i32]) {
if let Some(x) = arr.last_mut() {
*x += 1;
} else {
println!("Bailed at src/example.rs:34:18: `arr.last_mut()`");
tracing::warn!("Bailed at src/example.rs:34:18: None");
return;
}
}
Expand Down

0 comments on commit 7fb487d

Please # to comment.