We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d106b commit 6d8e78bCopy full SHA for 6d8e78b
src/message/types.rs
@@ -47,8 +47,8 @@ impl fmt::Display for MessageAttributeValue {
47
MessageAttributeValue::Integer(i) => write!(f, "{}", i),
48
MessageAttributeValue::String(s) => write!(f, "{}", s),
49
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()),
+ MessageAttributeValue::Uri(u) => write!(f, "{}", u),
+ MessageAttributeValue::UriRef(u) => write!(f, "{}", u),
52
MessageAttributeValue::DateTime(d) => write!(f, "{}", d.to_rfc3339()),
53
}
54
0 commit comments