mirror of
https://github.com/casey/just.git
synced 2025-08-04 23:17:59 +00:00
Fix Rust 1.83 clippy warnings (#2487)
This commit is contained in:
parent
a633b269c1
commit
beaec7ef7c
34 changed files with 41 additions and 38 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue