Skip to content

Commit f7c1abb

Browse files
committed
Allow unused on parse_generic_error
1 parent fcf69bd commit f7c1abb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust-runtime/inlineable/src/rest_xml_wrapped_errors.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pub fn body_is_error(body: &[u8]) -> Result<bool, XmlDecodeError> {
1313
Ok(scoped.start_el().matches("ErrorResponse"))
1414
}
1515

16+
#[allow(unused)]
1617
pub fn parse_generic_error(body: &[u8]) -> Result<aws_smithy_types::Error, XmlDecodeError> {
1718
let mut doc = Document::try_from(body)?;
1819
let mut root = doc.root_element()?;

0 commit comments

Comments
 (0)