Skip to content

Commit 7a491bb

Browse files
committedOct 16, 2016
Run rustfmt on libcore/prelude folder
1 parent 6dc035e commit 7a491bb

File tree

1 file changed

+28
-14
lines changed

1 file changed

+28
-14
lines changed
 

‎src/libcore/prelude/v1.rs

+28-14
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,50 @@
1818

1919
// Reexported core operators
2020
#[stable(feature = "core_prelude", since = "1.4.0")]
21-
#[doc(no_inline)] pub use marker::{Copy, Send, Sized, Sync};
21+
#[doc(no_inline)]
22+
pub use marker::{Copy, Send, Sized, Sync};
2223
#[stable(feature = "core_prelude", since = "1.4.0")]
23-
#[doc(no_inline)] pub use ops::{Drop, Fn, FnMut, FnOnce};
24+
#[doc(no_inline)]
25+
pub use ops::{Drop, Fn, FnMut, FnOnce};
2426

2527
// Reexported functions
2628
#[stable(feature = "core_prelude", since = "1.4.0")]
27-
#[doc(no_inline)] pub use mem::drop;
29+
#[doc(no_inline)]
30+
pub use mem::drop;
2831

2932
// Reexported types and traits
3033
#[stable(feature = "core_prelude", since = "1.4.0")]
31-
#[doc(no_inline)] pub use clone::Clone;
34+
#[doc(no_inline)]
35+
pub use clone::Clone;
3236
#[stable(feature = "core_prelude", since = "1.4.0")]
33-
#[doc(no_inline)] pub use cmp::{PartialEq, PartialOrd, Eq, Ord};
37+
#[doc(no_inline)]
38+
pub use cmp::{PartialEq, PartialOrd, Eq, Ord};
3439
#[stable(feature = "core_prelude", since = "1.4.0")]
35-
#[doc(no_inline)] pub use convert::{AsRef, AsMut, Into, From};
40+
#[doc(no_inline)]
41+
pub use convert::{AsRef, AsMut, Into, From};
3642
#[stable(feature = "core_prelude", since = "1.4.0")]
37-
#[doc(no_inline)] pub use default::Default;
43+
#[doc(no_inline)]
44+
pub use default::Default;
3845
#[stable(feature = "core_prelude", since = "1.4.0")]
39-
#[doc(no_inline)] pub use iter::{Iterator, Extend, IntoIterator};
46+
#[doc(no_inline)]
47+
pub use iter::{Iterator, Extend, IntoIterator};
4048
#[stable(feature = "core_prelude", since = "1.4.0")]
41-
#[doc(no_inline)] pub use iter::{DoubleEndedIterator, ExactSizeIterator};
49+
#[doc(no_inline)]
50+
pub use iter::{DoubleEndedIterator, ExactSizeIterator};
4251
#[stable(feature = "core_prelude", since = "1.4.0")]
43-
#[doc(no_inline)] pub use option::Option::{self, Some, None};
52+
#[doc(no_inline)]
53+
pub use option::Option::{self, Some, None};
4454
#[stable(feature = "core_prelude", since = "1.4.0")]
45-
#[doc(no_inline)] pub use result::Result::{self, Ok, Err};
55+
#[doc(no_inline)]
56+
pub use result::Result::{self, Ok, Err};
4657

4758
// Reexported extension traits for primitive types
4859
#[stable(feature = "core_prelude", since = "1.4.0")]
49-
#[doc(no_inline)] pub use slice::SliceExt;
60+
#[doc(no_inline)]
61+
pub use slice::SliceExt;
5062
#[stable(feature = "core_prelude", since = "1.4.0")]
51-
#[doc(no_inline)] pub use str::StrExt;
63+
#[doc(no_inline)]
64+
pub use str::StrExt;
5265
#[stable(feature = "core_prelude", since = "1.4.0")]
53-
#[doc(no_inline)] pub use char::CharExt;
66+
#[doc(no_inline)]
67+
pub use char::CharExt;

0 commit comments

Comments
 (0)
Please sign in to comment.