Skip to content

Commit 9eeed4c

Browse files
Samuelsillsclaude
andcommitted
Fix formatting: import order and line wrapping
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e6e2e11 commit 9eeed4c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

library/alloc/src/boxed.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2164,9 +2164,10 @@ impl<E: Error> Error for Box<E> {
21642164
#[cfg(kani)]
21652165
#[unstable(feature = "kani", issue = "none")]
21662166
mod verify {
2167-
use core::kani;
21682167
use core::any::Any;
2168+
use core::kani;
21692169
use core::mem::MaybeUninit;
2170+
21702171
use crate::alloc::Global;
21712172
use crate::boxed::Box;
21722173

@@ -2486,8 +2487,7 @@ mod verify {
24862487
}
24872488
}
24882489
impl super::error::Error for MyError {}
2489-
let e: Box<dyn super::error::Error + Send + Sync> =
2490-
Box::new(MyError);
2490+
let e: Box<dyn super::error::Error + Send + Sync> = Box::new(MyError);
24912491
let d = e.downcast::<MyError>();
24922492
assert!(d.is_ok());
24932493
}

0 commit comments

Comments
 (0)