Skip to content

Commit b3588da

Browse files
committed
Patch clippy lints.
1 parent af2ce36 commit b3588da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl Display for Error {
8282

8383
#[cfg(feature = "std")]
8484
impl std::error::Error for Error {
85-
fn description(&self) -> &str {
85+
fn description(&self) -> &'static str {
8686
"error while parsing a float"
8787
}
8888
}

0 commit comments

Comments
 (0)