Bump to Rust 1.83 (#4604)
This commit is contained in:
@ -1181,7 +1181,7 @@ impl Node<ImportItem> {
|
|||||||
self.alias = Some(Identifier::new(new_name));
|
self.alias = Some(Identifier::new(new_name));
|
||||||
}
|
}
|
||||||
// Return implicit name.
|
// Return implicit name.
|
||||||
return Some(self.identifier().to_owned());
|
Some(self.identifier().to_owned())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ impl<'a> FunctionParam<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> JsonSchema for FunctionParam<'a> {
|
impl JsonSchema for FunctionParam<'_> {
|
||||||
fn schema_name() -> String {
|
fn schema_name() -> String {
|
||||||
"FunctionParam".to_owned()
|
"FunctionParam".to_owned()
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,7 @@ impl<'a> LogPerfStats<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Drop for LogPerfStats<'a> {
|
impl Drop for LogPerfStats<'_> {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
if !self.cancelled {
|
if !self.cancelled {
|
||||||
self.log_now();
|
self.log_now();
|
||||||
|
@ -24,7 +24,6 @@ use crate::{
|
|||||||
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, ts_rs::TS, JsonSchema)]
|
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, ts_rs::TS, JsonSchema)]
|
||||||
#[ts(export)]
|
#[ts(export)]
|
||||||
#[serde(untagged)]
|
#[serde(untagged)]
|
||||||
|
|
||||||
pub enum SketchOrSurface {
|
pub enum SketchOrSurface {
|
||||||
SketchSurface(SketchSurface),
|
SketchSurface(SketchSurface),
|
||||||
Sketch(Box<Sketch>),
|
Sketch(Box<Sketch>),
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.82.0"
|
channel = "1.83.0"
|
||||||
components = ["clippy", "rustfmt"]
|
components = ["clippy", "rustfmt"]
|
||||||
|
Reference in New Issue
Block a user