Run cargo fmt.
This commit is contained in:
parent
34677a5fa1
commit
b4fadea55d
|
@ -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.
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue