diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 3df8c16a..e92c5b6b 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.79.0" +channel = "1.80.0" components = ["rustfmt", "clippy"] targets = [ "x86_64-apple-darwin", diff --git a/src/fast_api.rs b/src/fast_api.rs index 92de125c..d75520cc 100644 --- a/src/fast_api.rs +++ b/src/fast_api.rs @@ -235,6 +235,8 @@ pub struct FastApiTypedArray { data: *mut T, } +// FastApiOneByteString is an alias for SeqOneByteString and the type is widely used in deno_core. +#[allow(dead_code)] #[repr(C)] pub struct FastApiOneByteString { data: *const u8, diff --git a/tests/test_api.rs b/tests/test_api.rs index fe48fbd2..f5eea61a 100644 --- a/tests/test_api.rs +++ b/tests/test_api.rs @@ -5202,6 +5202,7 @@ fn equality_edge_cases() { } #[test] +#[allow(clippy::mutable_key_type)] fn get_hash() { use std::collections::HashMap; use std::collections::HashSet;