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/libsyntax | |
| parent | 03268bbf35d3ff2350d987fe7b60375839abdf2e (diff) | |
| download | rust-774588fd9def900a467ba2b4ec3620f89832a799.tar.gz rust-774588fd9def900a467ba2b4ec3620f89832a799.zip | |
sed -i -s 's/ for Sized?//g' **/*.rs
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/quote.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/quote.rs b/src/libsyntax/ext/quote.rs index e46bd7ac4bc..f1b52fa33c3 100644 --- a/src/libsyntax/ext/quote.rs +++ b/src/libsyntax/ext/quote.rs @@ -85,14 +85,14 @@ pub mod rt { */ // FIXME: Move this trait to pprust and get rid of *_to_str? - pub trait ToSource for Sized? { + pub trait ToSource { // Takes a thing and generates a string containing rust code for it. fn to_source(&self) -> String; } // FIXME (Issue #16472): This should go away after ToToken impls // are revised to go directly to token-trees. - trait ToSourceWithHygiene for Sized? : ToSource { + trait ToSourceWithHygiene : ToSource { // Takes a thing and generates a string containing rust code // for it, encoding Idents as special byte sequences to // maintain hygiene across serialization and deserialization. |
