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
//! old `OPML { /* ... */ }` syntax.
use serde::{Deserialize, Serialize};
use hard_xml::{XmlRead, XmlWrite};
use serde::{Deserialize, Serialize};
use thiserror::Error;
/// All possible errors.

View File

@ -23,15 +23,12 @@ fn test_minimum_valid_opml() {
#[test]
fn test_valid_empty_docs() {
assert_eq!(
OPML::from_str(
&read("tests/samples/empty_docs.opml").unwrap()
)
.unwrap(),
OPML::from_str(&read("tests/samples/empty_docs.opml").unwrap()).unwrap(),
OPML {
version: "2.0".to_string(),
head: Some(Head {
docs: Some("".to_string()),
..Head::default()
..Head::default()
}),
body: Body {
outlines: vec![Outline {