From 564d4a6c11084676869f9b9cdf40ff8e574e2192 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 10 Aug 2019 11:58:31 +0200 Subject: [PATCH] fmt --- build.rs | 2 +- src/lib.rs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/build.rs b/build.rs index 63b1b1c..e7aa89c 100644 --- a/build.rs +++ b/build.rs @@ -1,5 +1,5 @@ extern crate rustc_version; -use rustc_version::{version, version_meta, Version, Channel}; +use rustc_version::{version, version_meta, Channel, Version}; fn main() { // Assert we haven't travelled back in time diff --git a/src/lib.rs b/src/lib.rs index c420e72..4a97ee6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -61,10 +61,7 @@ //! ``` #![no_std] -#![cfg_attr( - memoffset_nightly, - feature(cfg_doctest) -)] +#![cfg_attr(memoffset_nightly, feature(cfg_doctest))] #[macro_use] #[cfg(memoffset_nightly)]