Skip to content

Commit 83c2686

Browse files
committed
---
yaml --- r: 126045 b: refs/heads/try c: 96d6126 h: refs/heads/master i: 126043: 1b307a7 v: v3
1 parent df72e16 commit 83c2686

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: f2fa55903e378368ed9173560f03a0ef16e371c2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 9fc8394d3bce22ab483f98842434c84c396212ae
5-
refs/heads/try: f3e0db15592d71b8b7125bffbf73df231be8da9d
5+
refs/heads/try: 96d6126f9bae9a9171b150fb9a6e26047229faaa
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libstd/io/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ responding to errors that may occur while attempting to read the numbers.
223223

224224
use char::Char;
225225
use collections::Collection;
226+
use default::Default;
226227
use fmt;
227228
use int;
228229
use iter::Iterator;
@@ -1829,6 +1830,11 @@ on unix-like systems."]
18291830
}
18301831
)
18311832

1833+
impl Default for FilePermission {
1834+
#[inline]
1835+
fn default() -> FilePermission { FilePermission::empty() }
1836+
}
1837+
18321838
#[cfg(test)]
18331839
mod tests {
18341840
use super::{IoResult, Reader, MemReader, NoProgress, InvalidInput};

0 commit comments

Comments
 (0)