diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-15 16:59:49 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-15 17:06:43 +0100 |
| commit | 63c274e7f6aa3a8c3f43abb91935ec924a186f73 (patch) | |
| tree | 193777ff773c6b547c6ef828ddf9750694fae7bc /src/parse/scanner.rs | |
| parent | 8a38899c98b4f9829b2d1f21c8fee66d254d20c6 (diff) | |
Make clippy happier and remove `Str`
Diffstat (limited to 'src/parse/scanner.rs')
| -rw-r--r-- | src/parse/scanner.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/scanner.rs b/src/parse/scanner.rs index ea06a2e0..c735be40 100644 --- a/src/parse/scanner.rs +++ b/src/parse/scanner.rs @@ -119,7 +119,7 @@ impl<'s> Scanner<'s> { /// The full source string. #[inline] pub fn src(&self) -> &'s str { - &self.src + self.src } /// Slice out part of the source string. |
