You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
ci: Update clippy to 1.66 and fix new warnings
This commit is contained in:
@ -75,7 +75,7 @@ impl File {
|
||||
.await?;
|
||||
|
||||
tracing::info!("Writing file");
|
||||
file.write_all(format!("{}", self).as_bytes()).await?;
|
||||
file.write_all(format!("{self}").as_bytes()).await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
@ -154,7 +154,7 @@ pub enum {} {{"#,
|
||||
for member in list {
|
||||
writeln!(f)?;
|
||||
if let Some(description) = &member.description {
|
||||
writeln!(f, " /// {}", description)?;
|
||||
writeln!(f, " /// {description}")?;
|
||||
} else {
|
||||
writeln!(f, " /// `{}`", member.value)?;
|
||||
}
|
||||
|
Reference in New Issue
Block a user