diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-19 12:09:52 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-24 14:12:02 -0700 |
| commit | 4b266f1c0df9732bbdea44b0df3d459d4cf2756d (patch) | |
| tree | 001f53c217538001b4dcc2b5388da2aafe7403b6 /src/libstd | |
| parent | 4dacd736510b2ae28a54489fe88571f1a6de019f (diff) | |
| download | rust-4b266f1c0df9732bbdea44b0df3d459d4cf2756d.tar.gz rust-4b266f1c0df9732bbdea44b0df3d459d4cf2756d.zip | |
Stop accepting 'impl ...;', require {} instead
Progress on #7981
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/rt/io/mod.rs | 2 | ||||
| -rw-r--r-- | src/libstd/rt/uv/file.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/io/mod.rs b/src/libstd/rt/io/mod.rs index 6b405b0948a..70fcf442f3f 100644 --- a/src/libstd/rt/io/mod.rs +++ b/src/libstd/rt/io/mod.rs @@ -472,7 +472,7 @@ pub trait Writer { pub trait Stream: Reader + Writer { } -impl<T: Reader + Writer> Stream for T; +impl<T: Reader + Writer> Stream for T {} pub enum SeekStyle { /// Seek from the beginning of the stream diff --git a/src/libstd/rt/uv/file.rs b/src/libstd/rt/uv/file.rs index ada558036cf..54cb40c9873 100644 --- a/src/libstd/rt/uv/file.rs +++ b/src/libstd/rt/uv/file.rs @@ -22,7 +22,7 @@ use libc::{c_int}; use option::{None, Some, Option}; pub struct FsRequest(*uvll::uv_fs_t); -impl Request for FsRequest; +impl Request for FsRequest {} pub struct RequestData { complete_cb: Option<FsCallback> |
