From 1987b4431576cbaeb9629bcc4e803dfe819fc9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Fri, 21 Apr 2023 17:33:56 +0200 Subject: [PATCH] cargo fmt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- src/element.rs | 78 +++++++++++++++++++++++++------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/src/element.rs b/src/element.rs index 99c64ee..f31e13f 100644 --- a/src/element.rs +++ b/src/element.rs @@ -35,7 +35,7 @@ //! # mode to ensure that it only matches a completely empty message stanza: //! //! Louise receives: -//! +//! //! ``` use std::fmt::Debug; @@ -401,13 +401,13 @@ mod tests { assert_eq!(scan1, &elem1); let elem2: Element = " - - " + + " .parse() .unwrap(); let elem3: Element = " - - " + + " .parse() .unwrap(); let scan2 = ScanElement::new(elem2); @@ -427,20 +427,20 @@ mod tests { #[test] fn compare_element_strict_nodes_success() { let elem1: Element = " - - - - - " + + + + + " .parse() .unwrap(); // The same, minus 'scansion:strict' let elem2: Element = " - - - - - " + + + + + " .parse() .unwrap(); let scan1 = ScanElement::new(elem1); @@ -451,17 +451,17 @@ mod tests { #[test] fn compare_element_strict_nodes_failure() { let elem1: Element = " - - - - - " + + + + + " .parse() .unwrap(); let elem2: Element = " - - - " + + + " .parse() .unwrap(); let scan1 = ScanElement::new(elem1); @@ -479,13 +479,13 @@ mod tests { assert_eq!(scan1, &elem1); let elem2: Element = " - - " + + " .parse() .unwrap(); let elem3: Element = " - - " + + " .parse() .unwrap(); let scan2 = ScanElement::new(elem2); @@ -504,13 +504,13 @@ mod tests { assert_ne!(scan1, &elem2); let elem2: Element = " - - " + + " .parse() .unwrap(); let elem3: Element = " - - " + + " .parse() .unwrap(); let scan2 = ScanElement::new(elem2); @@ -541,13 +541,13 @@ mod tests { #[test] fn compare_element_non_strict_elem_failure() { let elem2: Element = " - foo - " + foo + " .parse() .unwrap(); let elem3: Element = " - bar - " + bar + " .parse() .unwrap(); let scan2 = ScanElement::new(elem2); @@ -558,13 +558,13 @@ mod tests { #[test] fn compare_element_propagate_strictness() { let elem1: Element = " - - " + + " .parse() .unwrap(); let elem2: Element = " - - " + + " .parse() .unwrap(); let scan1 = ScanElement::new(elem1);