Skip to content

Commit db09829

Browse files
committed
fix(virtq): cargo fmt
Signed-off-by: Tomasz Andrzejak <andreiltd@gmail.com>
1 parent a3542ac commit db09829

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

  • src
    • hyperlight_common/src/virtq
    • hyperlight_guest_bin/src/guest_function

src/hyperlight_common/src/virtq/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,9 @@ pub(crate) mod test_utils {
515515

516516
/// Create test infrastructure: a producer, consumer, and notifier backed
517517
/// by the supplied [`OwnedRing`].
518-
pub(crate) fn make_test_producer(ring: &OwnedRing) -> (TestProducer, TestConsumer, TestNotifier) {
518+
pub(crate) fn make_test_producer(
519+
ring: &OwnedRing,
520+
) -> (TestProducer, TestConsumer, TestNotifier) {
519521
let layout = ring.layout();
520522
let mem = ring.mem();
521523

src/hyperlight_guest_bin/src/guest_function/call.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ use flatbuffers::FlatBufferBuilder;
2121
use hyperlight_common::flatbuffer_wrappers::function_call::{FunctionCall, FunctionCallType};
2222
use hyperlight_common::flatbuffer_wrappers::function_types::{FunctionCallResult, ParameterType};
2323
use hyperlight_common::flatbuffer_wrappers::guest_error::{ErrorCode, GuestError};
24-
use hyperlight_guest::bail;
2524
use hyperlight_guest::error::{HyperlightGuestError, Result};
26-
use hyperlight_guest::virtq;
25+
use hyperlight_guest::{bail, virtq};
2726
use tracing::instrument;
2827

2928
use crate::REGISTERED_GUEST_FUNCTIONS;

0 commit comments

Comments
 (0)