Skip to content

Commit bb43990

Browse files
committed
style: fmt
1 parent 6ad9682 commit bb43990

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: library/std/src/sys/pal/unix/thread.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ impl Thread {
278278
return None;
279279
}
280280
let info = tinfo.assume_init();
281-
let name = core::slice::from_raw_parts(info.name.as_ptr() as *const u8, info.name.len());
281+
let name =
282+
core::slice::from_raw_parts(info.name.as_ptr() as *const u8, info.name.len());
282283
CStr::from_bytes_until_nul(name).map(CStr::to_owned).ok()
283284
}
284285
}

0 commit comments

Comments
 (0)