clippy::use_self

This commit is contained in:
gwenn
2024-08-10 14:39:36 +02:00
parent 90320c9d37
commit 0c3933b68c
30 changed files with 268 additions and 271 deletions

View File

@@ -336,7 +336,7 @@ pub enum HeaderLocation {
}
impl From<HeaderLocation> for String {
fn from(header: HeaderLocation) -> String {
fn from(header: HeaderLocation) -> Self {
match header {
HeaderLocation::FromEnvironment => {
let prefix = env_prefix();