Skip to content

Commit 79a1122

Browse files
committed
Fix formatting
1 parent 08160bf commit 79a1122

File tree

4 files changed

+1
-5
lines changed

4 files changed

+1
-5
lines changed

src/tools/miri/src/shims/foreign_items.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ trait EvalContextExtPriv<'tcx>: crate::MiriInterpCxExt<'tcx> {
238238
return interp_ok(EmulateItemResult::NeedsReturn);
239239
}
240240
}
241-
// TODO: update the comment here
242241
// When adding a new shim, you should follow the following pattern:
243242
// ```
244243
// "shim_name" => {

src/tools/miri/src/shims/unix/foreign_items.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,6 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
761761
// We do not support forking, so there is nothing to do here.
762762
this.write_null(dest)?;
763763
}
764-
765764
"getentropy" => {
766765
// This function is non-standard but exists with the same signature and behavior on
767766
// Linux, macOS, FreeBSD and Solaris/Illumos.

src/tools/miri/src/shims/unix/solarish/foreign_items.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
use rustc_target::callconv::Conv;
32
use rustc_span::Symbol;
43
use rustc_target::callconv::FnAbi;

src/tools/miri/src/shims/unix/thread.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
1+
use rustc_abi::ExternAbi;
22

33
use crate::*;
4-
use rustc_abi::ExternAbi;
54

65
#[derive(Debug, Clone, PartialEq, Eq)]
76
pub enum ThreadNameResult {

0 commit comments

Comments
 (0)