diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-15 20:04:52 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-15 20:04:52 -0800 |
| commit | 9021f61ef7979cb146c5786e1c54c6d928cc0483 (patch) | |
| tree | 27ac6ed7de9a386a692e20dbf84e8aba722e4e9a /src/libstd/io | |
| parent | 23bae856b7f3a037caffbf6af6f376a7d48058cd (diff) | |
| download | rust-9021f61ef7979cb146c5786e1c54c6d928cc0483.tar.gz rust-9021f61ef7979cb146c5786e1c54c6d928cc0483.zip | |
std: Second pass stabilization of `default`
This commit performs a second pass stabilization of the `std::default` module. The module was already marked `#[stable]`, and the inheritance of `#[stable]` was removed since this attribute was applied. This commit adds the `#[stable]` attribute to the trait definition and one method name, along with all implementations found in the standard distribution.
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 4baeaabc6c6..b9139c5d0e2 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -1911,7 +1911,9 @@ bitflags! { } +#[stable] impl Default for FilePermission { + #[stable] #[inline] fn default() -> FilePermission { FilePermission::empty() } } |
