Loading rust-runtime/aws-smithy-json/src/deserialize/token.rs +1 −0 Original line number Diff line number Diff line Loading @@ -135,6 +135,7 @@ expect_fn!( macro_rules! expect_value_or_null_fn { ($name:ident, $token:ident, $typ:ident, $doc:tt) => { #[doc=$doc] #[allow(unknown_lints)] #[allow(mismatched_lifetime_syntaxes)] pub fn $name(token: Option<Result<Token<'_>, Error>>) -> Result<Option<$typ>, Error> { match token.transpose()? { Loading Loading
rust-runtime/aws-smithy-json/src/deserialize/token.rs +1 −0 Original line number Diff line number Diff line Loading @@ -135,6 +135,7 @@ expect_fn!( macro_rules! expect_value_or_null_fn { ($name:ident, $token:ident, $typ:ident, $doc:tt) => { #[doc=$doc] #[allow(unknown_lints)] #[allow(mismatched_lifetime_syntaxes)] pub fn $name(token: Option<Result<Token<'_>, Error>>) -> Result<Option<$typ>, Error> { match token.transpose()? { Loading