Skip to content

Commit 24aff31

Browse files
Samuelsillsclaude
andcommitted
Fix formatting: join let bindings, remove extra blank line
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5c009ce commit 24aff31

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

library/alloc/src/sync.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4705,14 +4705,12 @@ mod verify {
47054705

47064706
#[kani::proof]
47074707
fn verify_new_uninit_in() {
4708-
let _a: Arc<MaybeUninit<i32>, Global> =
4709-
Arc::new_uninit_in(Global);
4708+
let _a: Arc<MaybeUninit<i32>, Global> = Arc::new_uninit_in(Global);
47104709
}
47114710

47124711
#[kani::proof]
47134712
fn verify_new_zeroed_in() {
4714-
let a: Arc<MaybeUninit<i32>, Global> =
4715-
Arc::new_zeroed_in(Global);
4713+
let a: Arc<MaybeUninit<i32>, Global> = Arc::new_zeroed_in(Global);
47164714
let a = unsafe { a.assume_init() };
47174715
assert!(*a == 0);
47184716
}
@@ -4861,7 +4859,6 @@ mod verify {
48614859
assert!(*a == 0);
48624860
}
48634861

4864-
48654862
#[kani::proof]
48664863
fn verify_from_str() {
48674864
let a: Arc<str> = Arc::from("hello");

0 commit comments

Comments
 (0)