Skip to content

Commit b86130b

Browse files
committed
Run cargo fmt
1 parent dd7254f commit b86130b

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

rustler/src/thread.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use crate::env::OwnedEnv;
2-
use std::panic;
3-
use std::thread;
42
use crate::types::atom::Atom;
53
use crate::{Encoder, Env, Term};
4+
use std::panic;
5+
use std::thread;
66

77
/// A `JobSpawner` is a value that can run Rust code on non-Erlang system threads.
88
/// Abstracts away details of thread management for `spawn()`.

rustler/src/types/binary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use crate::wrapper::binary::{alloc, realloc, ErlNifBinary};
22
use crate::{Decoder, Encoder, Env, Error, NifResult, Term};
33

4-
use std::mem::MaybeUninit;
54
use std::borrow::{Borrow, BorrowMut};
65
use std::io::Write;
6+
use std::mem::MaybeUninit;
77
use std::ops::{Deref, DerefMut};
88

99
// Owned

rustler_sys/src/initmacro.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,6 @@ mod initmacro_namespace_tests {
350350
});
351351
assert_eq!(0, funcs[0].flags);
352352
}
353-
354353
}
355354

356355
#[cfg(test)]
@@ -629,5 +628,4 @@ mod initmacro_tests {
629628
});
630629
assert_eq!(0, funcs[0].flags);
631630
}
632-
633631
}

0 commit comments

Comments
 (0)