Skip to content

Commit

Permalink
Merge pull request #59 from orhun/feat/edition_2021_as_default
Browse files Browse the repository at this point in the history
Use Rust 2021 edition as default
  • Loading branch information
fornwall authored Dec 10, 2022
2 parents f593d5e + 81c8f31 commit 9eb9af8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ pub const DEFAULT_MANIFEST: &str = r##"
name = "#{name}"
version = "0.1.0"
authors = ["Anonymous"]
edition = "2018"
edition = "2021"
[[bin]]
name = "#{bin_name}"
Expand All @@ -159,7 +159,7 @@ pub const DEFAULT_MANIFEST: &str = r##"
name = "#{name}"
version = "0.1.0"
authors = ["Anonymous"]
edition = "2018"
edition = "2021"
[[bin]]
name = "#{bin_name}"
Expand Down
12 changes: 6 additions & 6 deletions src/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ path = "n.rs"
[package]
authors = ["Anonymous"]
edition = "2018"
edition = "2021"
name = "n"
version = "0.1.0""#,
STRIP_SECTION
Expand All @@ -193,7 +193,7 @@ path = "n.rs"
[package]
authors = ["Anonymous"]
edition = "2018"
edition = "2021"
name = "n"
version = "0.1.0""#,
STRIP_SECTION
Expand Down Expand Up @@ -222,7 +222,7 @@ path = "n.rs"
[package]
authors = ["Anonymous"]
edition = "2018"
edition = "2021"
name = "n"
version = "0.1.0""#,
STRIP_SECTION
Expand Down Expand Up @@ -252,7 +252,7 @@ time = "0.1.25"
[package]
authors = ["Anonymous"]
edition = "2018"
edition = "2021"
name = "n"
version = "0.1.0""#,
STRIP_SECTION
Expand Down Expand Up @@ -282,7 +282,7 @@ time = "0.1.25"
[package]
authors = ["Anonymous"]
edition = "2018"
edition = "2021"
name = "n"
version = "0.1.0""#,
STRIP_SECTION
Expand Down Expand Up @@ -318,7 +318,7 @@ time = "0.1.25"
[package]
authors = ["Anonymous"]
edition = "2018"
edition = "2021"
name = "n"
version = "0.1.0""#,
STRIP_SECTION
Expand Down

0 comments on commit 9eb9af8

Please sign in to comment.