Skip to content

Commit

Permalink
Make Clippy happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten committed Dec 28, 2023
1 parent b4ecb02 commit b458d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl<'a> Document<'a> {
/// necessarily has the same lifetime as the source.
pub fn parse(source: &'a str) -> Result<Self, Error> {
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?
Expand Down

0 comments on commit b458d12

Please sign in to comment.