Fix clippy::needless_borrow lint violations (#36444)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-08-18 23:54:35 +02:00 committed by Orual
parent e72add7197
commit 455a95c81d
No known key found for this signature in database
242 changed files with 801 additions and 821 deletions

View file

@ -1830,7 +1830,7 @@ impl Language {
impl LanguageScope {
pub fn path_suffixes(&self) -> &[String] {
&self.language.path_suffixes()
self.language.path_suffixes()
}
pub fn language_name(&self) -> LanguageName {