mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 19:32:29 +00:00
Lots of clippy appeasement
This commit is contained in:
@@ -9,7 +9,8 @@ use crate::{XmlDeserialize, XmlError};
|
||||
pub struct Unparsed(BytesStart<'static>);
|
||||
|
||||
impl Unparsed {
|
||||
#[must_use] pub fn tag_name(&self) -> String {
|
||||
#[must_use]
|
||||
pub fn tag_name(&self) -> String {
|
||||
// TODO: respect namespace?
|
||||
String::from_utf8_lossy(self.0.local_name().as_ref()).to_string()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user