We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70bf08b commit 7ec4d14Copy full SHA for 7ec4d14
src/libstd/panicking.rs
@@ -221,7 +221,8 @@ impl<'a> PanicInfo<'a> {
221
///
222
/// panic::set_hook(Box::new(|panic_info| {
223
/// if let Some(location) = panic_info.location() {
224
- /// println!("panic occurred in file '{}' at line {}", location.file(), location.line());
+ /// println!("panic occurred in file '{}' at line {}",
225
+ /// location.file(), location.line());
226
/// } else {
227
/// println!("panic occurred but can't get location information...");
228
/// }
0 commit comments