diff --git a/crates/core_arch/src/x86/mod.rs b/crates/core_arch/src/x86/mod.rs index ad254f91a5..026ec1eec7 100644 --- a/crates/core_arch/src/x86/mod.rs +++ b/crates/core_arch/src/x86/mod.rs @@ -567,4 +567,4 @@ mod bt; pub use self::bt::*; mod rtm; -pub use self::rtm::*; \ No newline at end of file +pub use self::rtm::*; diff --git a/crates/core_arch/src/x86/rtm.rs b/crates/core_arch/src/x86/rtm.rs index e94eb16049..fa559faf37 100644 --- a/crates/core_arch/src/x86/rtm.rs +++ b/crates/core_arch/src/x86/rtm.rs @@ -154,7 +154,7 @@ mod tests { if code == _XBEGIN_STARTED { let in_tx = _xtest(); rtm::_xend(); - + // putting the assert inside the transaction would abort the transaction on fail // without any output/panic/etc assert_eq!(in_tx, 1); @@ -162,4 +162,4 @@ mod tests { } } } -} \ No newline at end of file +}