Fixed a typo in a docstring
This commit is contained in:
parent
3164c72062
commit
05f9069769
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ pub trait DiffableStr: Hash + PartialEq + PartialOrd + Ord + Eq + ToOwned {
|
|||
/// Slices the string.
|
||||
fn slice(&self, rng: Range<usize>) -> &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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue