Fix Rust 1.83 clippy warnings (#2487)

This commit is contained in:
Casey Rodarmor 2024-11-29 11:44:00 -08:00 committed by GitHub
parent a633b269c1
commit beaec7ef7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 41 additions and 38 deletions

View file

@ -49,7 +49,7 @@ struct Chapter<'a> {
language: Language,
}
impl<'a> Chapter<'a> {
impl Chapter<'_> {
fn title(&self) -> String {
if self.index == 0 {
return self.language.introduction().into();