From 4b266f1c0df9732bbdea44b0df3d459d4cf2756d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 19 Sep 2013 12:09:52 -0700 Subject: Stop accepting 'impl ...;', require {} instead Progress on #7981 --- src/libstd/rt/io/mod.rs | 2 +- src/libstd/rt/uv/file.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd/rt') 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 Stream for T; +impl 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 -- cgit 1.4.1-3-g733a5