Skip to content

Commit 3781a1a

Browse files
committed
remove unnecessary comments
1 parent 235700f commit 3781a1a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libstd/ffi/os_str.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,6 @@ impl OsStr {
774774
/// [`make_ascii_lowercase`]: #method.make_ascii_lowercase
775775
#[unstable(feature = "osstring_ascii", issue = "none")]
776776
pub fn to_ascii_lowercase(&self) -> OsString {
777-
// OsString::from_inner(Buf::from_inner(self.inner.inner.to_ascii_lowercase()))
778777
OsString::from_inner(self.inner.to_ascii_lowercase())
779778
}
780779

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

0 commit comments

Comments
 (0)