Fix clippy lints
This commit is contained in:
parent
f0dd03d633
commit
f68826057b
4 changed files with 7 additions and 9 deletions
|
|
@ -44,7 +44,7 @@ impl<'a> IntoAttributeValue for &'a str {
|
|||
|
||||
impl<T: IntoAttributeValue> IntoAttributeValue for Option<T> {
|
||||
fn into_attribute_value(self) -> Option<String> {
|
||||
self.and_then(|t| t.into_attribute_value())
|
||||
self.and_then(IntoAttributeValue::into_attribute_value)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue