Skip to content

Commit bb54410

Browse files
authored
Reorder import of alloc
1 parent ca60524 commit bb54410

File tree

1 file changed

+2
-2
lines changed
  • cranelift/assembler-x64/src

1 file changed

+2
-2
lines changed

cranelift/assembler-x64/src/mem.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
//! Memory operands to instructions.
22
3+
use alloc::string::{String, ToString};
4+
35
use crate::api::{AsReg, CodeSink, Constant, KnownOffset, Label, TrapCode};
46
use crate::gpr::{self, NonRspGpr, Size};
57
use crate::rex::{Disp, RexPrefix, encode_modrm, encode_sib};
68

7-
use alloc::string::{String, ToString};
8-
99
/// x64 memory addressing modes.
1010
#[derive(Copy, Clone, Debug, PartialEq)]
1111
#[cfg_attr(any(test, feature = "fuzz"), derive(arbitrary::Arbitrary))]

0 commit comments

Comments
 (0)