Skip to content

Commit 679cb32

Browse files
committed
refactor(lints): Simplify package processing
1 parent c63b51d commit 679cb32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cargo/util/toml/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2579,8 +2579,7 @@ impl TomlManifest {
25792579
.badges
25802580
.as_ref()
25812581
.map(|_| MaybeWorkspace::Defined(metadata.badges.clone())),
2582-
lints: lints
2583-
.map(|lints| toml::Value::try_from(MaybeWorkspaceLints::Defined(lints)).unwrap()),
2582+
lints: lints.map(|lints| toml::Value::try_from(lints).unwrap()),
25842583
};
25852584
let mut manifest = Manifest::new(
25862585
summary,

0 commit comments

Comments
 (0)