Skip to content

Commit 8ce8a74

Browse files
committed
cargo fmt so #483 works.
1 parent 4d86cc0 commit 8ce8a74

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

analysis/runtime/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ pub mod events;
22
mod handlers;
33
pub mod metadata;
44
pub mod mir_loc;
5-
pub mod runtime;
65
mod parse;
6+
pub mod runtime;
77

88
pub use handlers::*;
99
use runtime::{global_runtime::RUNTIME, skip::notify_if_events_were_skipped_before_main};

c2rust-transpile/src/cfg/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@ pub struct SwitchCases {
434434
}
435435

436436
/// A Rust statement, or a C declaration, or a comment
437-
///
438-
/// `#[allow(clippy::large_enum_variant)]`ed instead of [`Box`]ing the large variant,
437+
///
438+
/// `#[allow(clippy::large_enum_variant)]`ed instead of [`Box`]ing the large variant,
439439
/// [`Stmt`] (472 bytes), as doing so would cause a lot of code churn and refactoring.
440440
#[allow(clippy::large_enum_variant)]
441441
#[derive(Clone, Debug)]

c2rust-transpile/src/translator/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1176,8 +1176,8 @@ pub enum ExprUse {
11761176
pub enum ConvertedDecl {
11771177
/// [`ForeignItem`] is large (472 bytes), so [`Box`] it.
11781178
ForeignItem(Box<ForeignItem>), // would be 472 bytes
1179-
Item(Box<Item>), // 24 bytes
1180-
Items(Vec<Box<Item>>), // 24 bytes
1179+
Item(Box<Item>), // 24 bytes
1180+
Items(Vec<Box<Item>>), // 24 bytes
11811181
NoItem,
11821182
}
11831183

0 commit comments

Comments
 (0)