mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
parent
29011d5929
commit
9a1c697045
3 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.73.0"
|
channel = "1.74.0"
|
||||||
components = ["rustfmt", "clippy"]
|
components = ["rustfmt", "clippy"]
|
||||||
|
|
Loading…
Reference in a new issue