Skip to content

Commit 7a630b8

Browse files
Petre Eftimelauralt
authored andcommitted
clippy: fix unnecesarry to_string
Signed-off-by: Petre Eftime <epetre@amazon.com>
1 parent 695be43 commit 7a630b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl Display for Error {
6969
ARG_NUMBER_MAX
7070
)
7171
}
72-
InvalidTargetArch(arch) => write!(f, "Invalid target arch: {}.", arch.to_string()),
72+
InvalidTargetArch(arch) => write!(f, "Invalid target arch: {}.", arch),
7373
}
7474
}
7575
}

0 commit comments

Comments
 (0)