Skip to content

Commit 6d8e78b

Browse files
committed
Fix clippy warnings
1 parent f3d106b commit 6d8e78b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/message/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ impl fmt::Display for MessageAttributeValue {
4747
MessageAttributeValue::Integer(i) => write!(f, "{}", i),
4848
MessageAttributeValue::String(s) => write!(f, "{}", s),
4949
MessageAttributeValue::Binary(v) => write!(f, "{}", base64::encode(v)),
50-
MessageAttributeValue::Uri(u) => write!(f, "{}", u.to_string()),
51-
MessageAttributeValue::UriRef(u) => write!(f, "{}", u.to_string()),
50+
MessageAttributeValue::Uri(u) => write!(f, "{}", u),
51+
MessageAttributeValue::UriRef(u) => write!(f, "{}", u),
5252
MessageAttributeValue::DateTime(d) => write!(f, "{}", d.to_rfc3339()),
5353
}
5454
}

0 commit comments

Comments
 (0)