From 05f9069769bcf89356bc831505b0c40c84ec4323 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Wed, 3 Feb 2021 14:39:47 +0100 Subject: [PATCH] Fixed a typo in a docstring --- src/text/abstraction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text/abstraction.rs b/src/text/abstraction.rs index c155b32..ded1857 100644 --- a/src/text/abstraction.rs +++ b/src/text/abstraction.rs @@ -88,7 +88,7 @@ pub trait DiffableStr: Hash + PartialEq + PartialOrd + Ord + Eq + ToOwned { /// Slices the string. fn slice(&self, rng: Range) -> &Self; - /// Returns the strings as slice of raw bytes. + /// Returns the string as slice of raw bytes. fn as_bytes(&self) -> &[u8]; /// Checks if the string is empty.