mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
chore: address Rust 1.78 clippy lints (#4545)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -472,13 +472,13 @@ pub trait XmlExt {
|
||||
///
|
||||
/// Deserialize an XML string into the specified type `<T>`.
|
||||
///
|
||||
fn parse_xml<T>(self) -> Result<T, quick_xml::de::DeError>
|
||||
fn parse_xml<T>(self) -> Result<T, de::DeError>
|
||||
where
|
||||
T: serde::de::DeserializeOwned;
|
||||
}
|
||||
|
||||
impl XmlExt for &str {
|
||||
fn parse_xml<T>(self) -> Result<T, quick_xml::de::DeError>
|
||||
fn parse_xml<T>(self) -> Result<T, de::DeError>
|
||||
where
|
||||
T: serde::de::DeserializeOwned,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user