1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

chore: update to Rust 1.74 (#21210)

Update to Rust 1.74
This commit is contained in:
林炳权 2023-11-17 23:06:28 +08:00 committed by GitHub
parent 29011d5929
commit 9a1c697045
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -812,7 +812,7 @@ impl Config {
pub fn new() -> Self { pub fn new() -> Self {
Self { Self {
client_capabilities: ClientCapabilities::default(), client_capabilities: ClientCapabilities::default(),
/// Root provided by the initialization parameters. // Root provided by the initialization parameters.
settings: Default::default(), settings: Default::default(),
workspace_folders: vec![], workspace_folders: vec![],
maybe_config_file_info: None, maybe_config_file_info: None,

View file

@ -298,6 +298,7 @@ fn main() {
let snapshot_slice = &[]; let snapshot_slice = &[];
#[allow(clippy::needless_borrow)] #[allow(clippy::needless_borrow)]
#[allow(clippy::disallowed_methods)] #[allow(clippy::disallowed_methods)]
#[allow(clippy::needless_borrows_for_generic_args)]
std::fs::write(&runtime_snapshot_path, snapshot_slice).unwrap(); std::fs::write(&runtime_snapshot_path, snapshot_slice).unwrap();
} }

View file

@ -1,3 +1,3 @@
[toolchain] [toolchain]
channel = "1.73.0" channel = "1.74.0"
components = ["rustfmt", "clippy"] components = ["rustfmt", "clippy"]