fix clippy warnings
This commit is contained in:
parent
f4debf1bbf
commit
df76bc147a
2 changed files with 16 additions and 16 deletions
|
|
@ -2,7 +2,7 @@ extern crate minidom;
|
|||
|
||||
use minidom::Element;
|
||||
|
||||
const DATA: &'static str = r#"<articles xmlns="article">
|
||||
const DATA: &str = r#"<articles xmlns="article">
|
||||
<article>
|
||||
<title>10 Terrible Bugs You Would NEVER Believe Happened</title>
|
||||
<body>
|
||||
|
|
@ -17,7 +17,7 @@ const DATA: &'static str = r#"<articles xmlns="article">
|
|||
</article>
|
||||
</articles>"#;
|
||||
|
||||
const ARTICLE_NS: &'static str = "article";
|
||||
const ARTICLE_NS: &str = "article";
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Article {
|
||||
|
|
|
|||
Loading…
Reference in a new issue