Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump edition to 2021 #18

Merged
merged 1 commit into from
Dec 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bump edition to 2021
  • Loading branch information
softprops committed Dec 27, 2021
commit 18ab882b685b1f770e310c43ab8ac46f80963ac8
2 changes: 1 addition & 1 deletion recap-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "../README.md"
documentation = "https://docs.rs/recap-derive"
homepage = "https://github.com/softprops/recap"
repository = "https://github.com/softprops/recap"
edition = "2018"
edition = "2021"

[lib]
proc-macro = true
Expand Down
2 changes: 1 addition & 1 deletion recap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "recap"
version = "0.1.1"
authors = ["softprops <d.tangren@gmail.com>"]
edition = "2018"
edition = "2021"
license = "MIT"
description = "Deserialize typed structures from regex captures"
keywords = ["regex", "serde"]
Expand Down
1 change: 1 addition & 0 deletions recap/examples/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use std::error::Error;
\s+
(?P<baz>\S+)
"#)]
#[allow(dead_code)]
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the fields were printed with debug formatted but rustc complained they were unused so I'm adding #[allow(dead_code)] to allow for a cleaner compile

struct LogEntry {
foo: usize,
bar: bool,
Expand Down