Run cargo fmt.

This commit is contained in:
Bauke 2022-07-20 14:14:44 +02:00
parent 34677a5fa1
commit b4fadea55d
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 3 additions and 6 deletions

View File

@ -29,8 +29,8 @@
//! To create an OPML document from scratch, use [`OPML::default()`] or the good //! To create an OPML document from scratch, use [`OPML::default()`] or the good
//! old `OPML { /* ... */ }` syntax. //! old `OPML { /* ... */ }` syntax.
use serde::{Deserialize, Serialize};
use hard_xml::{XmlRead, XmlWrite}; use hard_xml::{XmlRead, XmlWrite};
use serde::{Deserialize, Serialize};
use thiserror::Error; use thiserror::Error;
/// All possible errors. /// All possible errors.

View File

@ -23,10 +23,7 @@ fn test_minimum_valid_opml() {
#[test] #[test]
fn test_valid_empty_docs() { fn test_valid_empty_docs() {
assert_eq!( assert_eq!(
OPML::from_str( OPML::from_str(&read("tests/samples/empty_docs.opml").unwrap()).unwrap(),
&read("tests/samples/empty_docs.opml").unwrap()
)
.unwrap(),
OPML { OPML {
version: "2.0".to_string(), version: "2.0".to_string(),
head: Some(Head { head: Some(Head {