Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mwillsey authored and thomcc committed Jun 21, 2023
1 parent 36dcce9 commit 6df2287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/substr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ impl Substr {
self.as_str().to_owned()
}

/// Unchecked function to cunstruct a [`Substr`] from an [`ArcStr`] and a
/// Unchecked function to construct a [`Substr`] from an [`ArcStr`] and a
/// byte range. Direct usage of this function is largely discouraged in
/// favor of [`ArcStr::substr`][crate::ArcStr::substr], or the
/// [`literal_substr!`](crate::literal_substr) macro, which currently is
Expand Down

0 comments on commit 6df2287

Please sign in to comment.