src/convert.rs 🔗
@@ -90,7 +90,7 @@ pub trait IntoAttributeValue {
impl IntoAttributeValue for String {
fn into_attribute_value(self) -> Option<String> {
- Some(self.clone())
+ Some(self)
}
}
lumi created
src/convert.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -90,7 +90,7 @@ pub trait IntoAttributeValue {
impl IntoAttributeValue for String {
fn into_attribute_value(self) -> Option<String> {
- Some(self.clone())
+ Some(self)
}
}