mirror of
https://github.com/isar/rusqlite.git
synced 2025-12-20 10:22:23 +08:00
clippy::use_self
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user