1
Fork 0

remove unnecessary comments

This commit is contained in:
TyPR124 2020-03-11 16:15:16 -04:00
parent 235700fea0
commit 3781a1a2ac

View file

@ -774,7 +774,6 @@ impl OsStr {
/// [`make_ascii_lowercase`]: #method.make_ascii_lowercase
#[unstable(feature = "osstring_ascii", issue = "none")]
pub fn to_ascii_lowercase(&self) -> OsString {
// OsString::from_inner(Buf::from_inner(self.inner.inner.to_ascii_lowercase()))
OsString::from_inner(self.inner.to_ascii_lowercase())
}
@ -799,7 +798,6 @@ impl OsStr {
/// [`make_ascii_uppercase`]: #method.make_ascii_uppercase
#[unstable(feature = "osstring_ascii", issue = "none")]
pub fn to_ascii_uppercase(&self) -> OsString {
// OsString::from_inner(Buf::from_inner(self.inner.inner.to_ascii_lowercase()))
OsString::from_inner(self.inner.to_ascii_uppercase())
}