diff --git a/src/wasm-lib/kcl/src/std/mod.rs b/src/wasm-lib/kcl/src/std/mod.rs index 8d87708f4..97e6f3c28 100644 --- a/src/wasm-lib/kcl/src/std/mod.rs +++ b/src/wasm-lib/kcl/src/std/mod.rs @@ -488,7 +488,7 @@ layout: manual buf.push_str(&fn_docs); // 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); } } diff --git a/src/wasm-lib/kcl/src/token/tokeniser.rs b/src/wasm-lib/kcl/src/token/tokeniser.rs index 60f229a2e..9cd747fe3 100644 --- a/src/wasm-lib/kcl/src/token/tokeniser.rs +++ b/src/wasm-lib/kcl/src/token/tokeniser.rs @@ -79,7 +79,7 @@ fn whitespace(i: &mut Located<&str>) -> PResult { fn inner_word(i: &mut Located<&str>) -> PResult<()> { 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(()) } diff --git a/src/wasm-lib/rust-toolchain.toml b/src/wasm-lib/rust-toolchain.toml index 4ec1fbb28..251f956ff 100644 --- a/src/wasm-lib/rust-toolchain.toml +++ b/src/wasm-lib/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.80.1" +channel = "1.81.0" components = ["clippy", "rustfmt"]