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));
|
||||
}
|
||||
// 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 {
|
||||
"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) {
|
||||
if !self.cancelled {
|
||||
self.log_now();
|
||||
|
@ -24,7 +24,6 @@ use crate::{
|
||||
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, ts_rs::TS, JsonSchema)]
|
||||
#[ts(export)]
|
||||
#[serde(untagged)]
|
||||
|
||||
pub enum SketchOrSurface {
|
||||
SketchSurface(SketchSurface),
|
||||
Sketch(Box<Sketch>),
|
||||
|
@ -1,3 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "1.82.0"
|
||||
channel = "1.83.0"
|
||||
components = ["clippy", "rustfmt"]
|
||||
|
Reference in New Issue
Block a user