Skip to content

Commit

Permalink
Remove unnecessary qualifications
Browse files Browse the repository at this point in the history
  • Loading branch information
bluk committed May 2, 2024
1 parent 81cb92e commit 1fb4d09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ pub enum Number {
impl Display for Number {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self {
Number::Signed(arg0) => fmt::Display::fmt(arg0, f),
Number::Unsigned(arg0) => fmt::Display::fmt(arg0, f),
Number::Signed(arg0) => Display::fmt(arg0, f),
Number::Unsigned(arg0) => Display::fmt(arg0, f),
}
}
}
Expand Down Expand Up @@ -371,7 +371,7 @@ impl From<String> for Value {

impl<V: Into<Value>> From<Vec<V>> for Value {
fn from(other: Vec<V>) -> Value {
Value::List(other.into_iter().map(core::convert::Into::into).collect())
Value::List(other.into_iter().map(Into::into).collect())
}
}

Expand Down

0 comments on commit 1fb4d09

Please sign in to comment.