From b458d1247bc97d423f30fbc086a55f3c6e17b24f Mon Sep 17 00:00:00 2001 From: Eric Scouten Date: Wed, 27 Dec 2023 20:20:53 -0800 Subject: [PATCH] Make Clippy happy again --- src/document.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document.rs b/src/document.rs index 4292aa9..1896ce2 100644 --- a/src/document.rs +++ b/src/document.rs @@ -24,7 +24,7 @@ impl<'a> Document<'a> { /// necessarily has the same lifetime as the source. pub fn parse(source: &'a str) -> Result { let source = Span::new(source, true); - let i = source.clone(); + let i = source; // TO DO: Look for document header. // TO DO: Add option for best-guess parsing?