Do not use import ::*

This commit is contained in:
Julien Cretin
2020-11-03 11:58:20 +01:00
parent 233c15b20c
commit b97758dd99
2 changed files with 7 additions and 2 deletions

View File

@@ -15,7 +15,9 @@
#[macro_use]
mod bitfield;
use self::bitfield::*;
#[cfg(test)]
use self::bitfield::Length;
use self::bitfield::{count_zeros, num_bits, Bit, Checksum, ConstField, Field};
use crate::{usize_to_nat, Nat, Storage, StorageIndex, StoreError, StoreResult};
use alloc::vec::Vec;
use core::cmp::min;

View File

@@ -12,7 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use crate::format::*;
use crate::format::{
is_erased, CompactInfo, Format, Header, InitInfo, InternalEntry, Padding, ParsedWord, Position,
Word, WordState,
};
#[cfg(feature = "std")]
pub use crate::model::{StoreModel, StoreOperation};
#[cfg(feature = "std")]