]> git.lizzy.rs Git - rust.git/commitdiff
fix prelude reexport of convert::id
authorMazdak <twingoow@gmail.com>
Fri, 19 Jan 2018 01:41:58 +0000 (02:41 +0100)
committerMazdak <twingoow@gmail.com>
Fri, 19 Jan 2018 01:41:58 +0000 (02:41 +0100)
src/libcore/prelude/v1.rs
src/libstd/prelude/v1.rs

index 348cfc97b80cc1b7af5fe6f4cf6d9acc60115014..6f4f273a31f5ed6b1d272834c6fc3fbe27800a56 100644 (file)
@@ -29,8 +29,8 @@
 #[doc(no_inline)]
 pub use mem::drop;
 #[unstable(feature = "convert_id_prelude", issue = "0")]
-#[inline]
-#[doc(no_inline)] pub use convert::id;
+#[doc(no_inline)]
+pub use convert::id;
 
 // Re-exported types and traits
 #[stable(feature = "core_prelude", since = "1.4.0")]
index 190304a1d3e7962599c89e2a89c2e7c8924ce024..d256353ab3071687fab094c5d1c2f27c2de773f2 100644 (file)
@@ -24,8 +24,8 @@
 #[stable(feature = "rust1", since = "1.0.0")]
 #[doc(no_inline)] pub use mem::drop;
 #[unstable(feature = "convert_id_prelude", issue = "0")]
-#[inline]
-#[doc(no_inline)] pub use convert::id;
+#[doc(no_inline)]
+pub use convert::id;
 
 // Re-exported types and traits
 #[stable(feature = "rust1", since = "1.0.0")]