Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Commit 24c4389

Browse files
committed
cargo fmt
1 parent a2a062b commit 24c4389

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lucet-runtime/lucet-runtime-internals/src/future.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ impl Vmctx {
111111
Some(cx) => cx.clone(),
112112
None => return Err(BlockOnError::NeedsAsyncContext),
113113
};
114-
115114

116115
// build an std::task::Context
117116
let mut cx = Context::from_waker(&arc_cx.waker);

lucet-runtime/lucet-runtime-internals/src/instance/state.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
use crate::instance::siginfo_ext::SiginfoExt;
12
use crate::instance::{FaultDetails, TerminationDetails, YieldedVal};
23
use crate::sysdeps::UContext;
3-
use crate::{instance::siginfo_ext::SiginfoExt};
44
use libc::{SIGBUS, SIGSEGV};
55
use std::any::TypeId;
66
use std::ffi::{CStr, CString};
@@ -148,8 +148,7 @@ impl State {
148148
}
149149

150150
pub fn is_running_async(&self) -> bool {
151-
if let State::Running = self
152-
{
151+
if let State::Running = self {
153152
true
154153
} else {
155154
false

0 commit comments

Comments
 (0)