diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-01-04 21:39:02 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-01-05 14:56:49 -0500 |
| commit | 774588fd9def900a467ba2b4ec3620f89832a799 (patch) | |
| tree | 9decb61d90da78a15e4bae48603920455b5e10d1 /src/libstd | |
| parent | 03268bbf35d3ff2350d987fe7b60375839abdf2e (diff) | |
| download | rust-774588fd9def900a467ba2b4ec3620f89832a799.tar.gz rust-774588fd9def900a467ba2b4ec3620f89832a799.zip | |
sed -i -s 's/ for Sized?//g' **/*.rs
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/ascii.rs | 2 | ||||
| -rw-r--r-- | src/libstd/c_str.rs | 2 | ||||
| -rw-r--r-- | src/libstd/path/mod.rs | 2 |
3 files changed, 3 insertions, 3 deletions
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<T = Self> for Sized? { +pub trait AsciiExt<T = Self> { /// 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 |
