diff --git a/src/libcretonne/lib.rs b/src/libcretonne/lib.rs index d5c501477c..0223e4a4b0 100644 --- a/src/libcretonne/lib.rs +++ b/src/libcretonne/lib.rs @@ -19,4 +19,4 @@ pub mod cfg; pub mod entity_map; -#[cfg(test)] pub mod test_utils; +#[cfg(test)]pub mod test_utils; diff --git a/src/libcretonne/test_utils/make_inst.rs b/src/libcretonne/test_utils/make_inst.rs index 167512b8b5..a12fb47191 100644 --- a/src/libcretonne/test_utils/make_inst.rs +++ b/src/libcretonne/test_utils/make_inst.rs @@ -1,14 +1,8 @@ -///! Helper functions for generating dummy instructions. +//! Helper functions for generating dummy instructions. use repr::Function; use entities::{Ebb, Inst, NO_VALUE}; -use instructions::{ - InstructionData, - Opcode, - VariableArgs, - JumpData, - BranchData, -}; +use instructions::{InstructionData, Opcode, VariableArgs, JumpData, BranchData}; use types; pub fn jump(func: &mut Function, dest: Ebb) -> Inst { diff --git a/src/libcretonne/test_utils/mod.rs b/src/libcretonne/test_utils/mod.rs index 49e6b23be8..6273573d6d 100644 --- a/src/libcretonne/test_utils/mod.rs +++ b/src/libcretonne/test_utils/mod.rs @@ -1,3 +1,3 @@ -///! Test utility functions. +//! Test utility functions. pub mod make_inst;