Fix spelling errors and capitalization.
This commit is contained in:
parent
d59d97cbec
commit
b7bfe04b2d
48 changed files with 64 additions and 64 deletions
|
|
@ -841,7 +841,7 @@ impl<'a, P: GenericPath> Display<'a, P> {
|
|||
/// Returns the path as a possibly-owned string.
|
||||
///
|
||||
/// If the path is not UTF-8, invalid sequences will be replaced with the
|
||||
/// unicode replacement char. This involves allocation.
|
||||
/// Unicode replacement char. This involves allocation.
|
||||
#[inline]
|
||||
pub fn as_maybe_owned(&self) -> MaybeOwned<'a> {
|
||||
String::from_utf8_lossy(if self.filename {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue