Skip to content

Commit

Permalink
Incorporate feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisanti committed Nov 15, 2022
1 parent bac36f5 commit 0ca4b2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust-runtime/aws-smithy-xml/src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ pub fn try_data<'a, 'inp>(
Some(Ok(Token::Text { text })) => return unescape(text.as_str()),
Some(Ok(e @ Token::ElementStart { .. })) => {
return Err(XmlDecodeError::custom(format!(
"Looking for a data element, found: {:?}",
"looking for a data element, found: {:?}",
e
)))
}
Expand Down
2 changes: 1 addition & 1 deletion rust-runtime/inlineable/src/ec2_query_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub fn error_scope<'a, 'b>(
}
// otherwise, ignore it
}
Err(XmlDecodeError::custom("No Error found inside of Response"))
Err(XmlDecodeError::custom("no error found inside of response"))
}

#[cfg(test)]
Expand Down
2 changes: 1 addition & 1 deletion rust-runtime/inlineable/src/rest_xml_wrapped_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub fn error_scope<'a, 'b>(
// otherwise, ignore it
}
Err(XmlDecodeError::custom(
"No Error found inside of ErrorResponse",
"no error found inside of ErrorResponse",
))
}

Expand Down

0 comments on commit 0ca4b2c

Please sign in to comment.