Skip to content

Commit 6bd9fe1

Browse files
committed
Documentation
1 parent 5573713 commit 6bd9fe1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/ffi/os_str.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ impl OsStr {
283283
self.to_bytes().and_then(|b| CString::new(b).ok())
284284
}
285285

286+
/// Checks if the string is empty.
286287
#[unstable(feature = "os_extras", reason = "recently added", issue = "30259")]
287288
pub fn is_empty(&self) -> bool {
288289
self.inner.inner.is_empty()

0 commit comments

Comments
 (0)