Skip to content

Commit b97ee0f

Browse files
anptesuji
andauthored
Fix typo
Co-Authored-By: lzutao <[email protected]>
1 parent 7a6af7e commit b97ee0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/rfc-2091-track-caller/std-panic-locations.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fn main() {
99
// inspect the `PanicInfo` we receive to ensure the right file is the source
1010
std::panic::set_hook(Box::new(|info| {
1111
let actual = info.location().unwrap();
12-
if actual.file() != file!(){
12+
if actual.file() != file!() {
1313
eprintln!("expected a location in the test file, found {:?}", actual);
1414
panic!();
1515
}

0 commit comments

Comments
 (0)