Upgrade to rust 1.81.0 (#3797)
* Upgrade to rust 1.81.0 * Fix new clippy warnings upgrading to 1.81.0
This commit is contained in:
@ -488,7 +488,7 @@ layout: manual
|
|||||||
buf.push_str(&fn_docs);
|
buf.push_str(&fn_docs);
|
||||||
|
|
||||||
// Write the file.
|
// Write the file.
|
||||||
expectorate::assert_contents(&format!("../../../docs/kcl/{}.md", internal_fn.name()), &buf);
|
expectorate::assert_contents(format!("../../../docs/kcl/{}.md", internal_fn.name()), &buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ fn whitespace(i: &mut Located<&str>) -> PResult<Token> {
|
|||||||
|
|
||||||
fn inner_word(i: &mut Located<&str>) -> PResult<()> {
|
fn inner_word(i: &mut Located<&str>) -> PResult<()> {
|
||||||
one_of(('a'..='z', 'A'..='Z', '_')).parse_next(i)?;
|
one_of(('a'..='z', 'A'..='Z', '_')).parse_next(i)?;
|
||||||
repeat(0.., one_of(('a'..='z', 'A'..='Z', '0'..='9', '_'))).parse_next(i)?;
|
repeat::<_, _, (), _, _>(0.., one_of(('a'..='z', 'A'..='Z', '0'..='9', '_'))).parse_next(i)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.80.1"
|
channel = "1.81.0"
|
||||||
components = ["clippy", "rustfmt"]
|
components = ["clippy", "rustfmt"]
|
||||||
|
Reference in New Issue
Block a user