Skip to content

Commit e3e072b

Browse files
Auto-format: cargo fmt --all
1 parent b0dfdc2 commit e3e072b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

crates/stdlib/src/faulthandler.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,7 @@ mod decl {
299299
let funcname = frame.code.obj_name.as_str();
300300
let filename = frame.code.source_path.as_str();
301301
let lineno = if frame.lasti() == 0 {
302-
frame
303-
.code
304-
.first_line_number
305-
.map(|n| n.get())
306-
.unwrap_or(1) as u32
302+
frame.code.first_line_number.map(|n| n.get()).unwrap_or(1) as u32
307303
} else {
308304
frame.current_location().line.get() as u32
309305
};

crates/vm/src/stdlib/thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//! Implementation of the _thread module
22
#[cfg(unix)]
33
pub(crate) use _thread::after_fork_child;
4+
pub use _thread::get_ident;
45
#[cfg_attr(target_arch = "wasm32", allow(unused_imports))]
56
pub(crate) use _thread::{
67
CurrentFrameSlot, HandleEntry, RawRMutex, ShutdownEntry, get_all_current_frames,
78
init_main_thread_ident, module_def,
89
};
9-
pub use _thread::get_ident;
1010

1111
#[pymodule]
1212
pub(crate) mod _thread {

0 commit comments

Comments
 (0)