diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-05-31 15:17:22 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-06-01 09:18:27 -0700 |
| commit | 5fb254695b4db9af3d8e33577fae28ae9f7006c5 (patch) | |
| tree | 33a4db59bd936a73594ca144e809b6074d6ccef3 /src/libstd/util.rs | |
| parent | 1e52eede31a1df3627bfa9f43b9d06c730895c01 (diff) | |
| download | rust-5fb254695b4db9af3d8e33577fae28ae9f7006c5.tar.gz rust-5fb254695b4db9af3d8e33577fae28ae9f7006c5.zip | |
Remove all uses of `pub impl`. rs=style
Diffstat (limited to 'src/libstd/util.rs')
| -rw-r--r-- | src/libstd/util.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/util.rs b/src/libstd/util.rs index 21fbe2836cd..e8e68ddd632 100644 --- a/src/libstd/util.rs +++ b/src/libstd/util.rs @@ -90,9 +90,9 @@ pub fn NonCopyable() -> NonCopyable { NonCopyable { i: () } } /// A type with no inhabitants pub enum Void { } -pub impl Void { +impl Void { /// A utility function for ignoring this uninhabited type - fn uninhabited(self) -> ! { + pub fn uninhabited(self) -> ! { match self { // Nothing to match on } |
