From 774588fd9def900a467ba2b4ec3620f89832a799 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 4 Jan 2015 21:39:02 -0500 Subject: sed -i -s 's/ for Sized?//g' **/*.rs --- src/libstd/ascii.rs | 2 +- src/libstd/c_str.rs | 2 +- src/libstd/path/mod.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/ascii.rs b/src/libstd/ascii.rs index bcd87f6786d..c0b9bbbbc29 100644 --- a/src/libstd/ascii.rs +++ b/src/libstd/ascii.rs @@ -38,7 +38,7 @@ pub trait OwnedAsciiExt { /// Extension methods for ASCII-subset only operations on string slices #[experimental = "would prefer to do this in a more general way"] -pub trait AsciiExt for Sized? { +pub trait AsciiExt { /// Check if within the ASCII range. fn is_ascii(&self) -> bool; diff --git a/src/libstd/c_str.rs b/src/libstd/c_str.rs index 9c96a9cac78..a7f0bc3532f 100644 --- a/src/libstd/c_str.rs +++ b/src/libstd/c_str.rs @@ -295,7 +295,7 @@ impl fmt::Show for CString { } /// A generic trait for converting a value to a CString. -pub trait ToCStr for Sized? { +pub trait ToCStr { /// Copy the receiver into a CString. /// /// # Panics diff --git a/src/libstd/path/mod.rs b/src/libstd/path/mod.rs index bf9ffbffe7d..ac281439ce5 100644 --- a/src/libstd/path/mod.rs +++ b/src/libstd/path/mod.rs @@ -786,7 +786,7 @@ pub trait GenericPath: Clone + GenericPathUnsafe { } /// A trait that represents something bytes-like (e.g. a &[u8] or a &str) -pub trait BytesContainer for Sized? { +pub trait BytesContainer { /// Returns a &[u8] representing the receiver fn container_as_bytes<'a>(&'a self) -> &'a [u8]; /// Returns the receiver interpreted as a utf-8 string, if possible -- cgit 1.4.1-3-g733a5