Skip to content

Commit 66ca36d

Browse files
committed
Stop using use syntax, it's from 1.82.0
1 parent 9229bff commit 66ca36d

File tree

1 file changed

+1
-1
lines changed
  • cargo/private/cargo_toml_info

1 file changed

+1
-1
lines changed

cargo/private/cargo_toml_info/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ fn lint_priority(lint: &cargo_toml::Lint) -> i32 {
107107
fn format_lint_set<'a>(
108108
lints: Option<&'a BTreeMap<String, BTreeMap<String, Lint>>>,
109109
group: &'a LintGroup,
110-
) -> Option<impl Iterator<Item = String> + use<'a>> {
110+
) -> Option<impl Iterator<Item = String> + 'a> {
111111
let lints = lints?.get(group.key())?;
112112
let mut lints = Vec::from_iter(lints);
113113
lints.sort_by(|(_, a), (_, b)| {

0 commit comments

Comments
 (0)