Skip to content

Commit 39394c8

Browse files
committed
libfmt_macros => 2018
1 parent 2efa31b commit 39394c8

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/libfmt_macros/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "fmt_macros"
44
version = "0.0.0"
5+
edition = "2018"
56

67
[lib]
78
name = "fmt_macros"

src/libfmt_macros/lib.rs

+7-6
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
html_playground_url = "https://play.rust-lang.org/",
1111
test(attr(deny(warnings))))]
1212

13-
#![feature(nll)]
13+
#![deny(rust_2018_idioms)]
14+
1415
#![feature(rustc_private)]
1516

16-
pub use self::Piece::*;
17-
pub use self::Position::*;
18-
pub use self::Alignment::*;
19-
pub use self::Flag::*;
20-
pub use self::Count::*;
17+
pub use Piece::*;
18+
pub use Position::*;
19+
pub use Alignment::*;
20+
pub use Flag::*;
21+
pub use Count::*;
2122

2223
use std::str;
2324
use std::string;

0 commit comments

Comments
 (0)