about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2015-01-04 21:39:02 -0500
committerJorge Aparicio <japaricious@gmail.com>2015-01-05 14:56:49 -0500
commit774588fd9def900a467ba2b4ec3620f89832a799 (patch)
tree9decb61d90da78a15e4bae48603920455b5e10d1 /src/libsyntax
parent03268bbf35d3ff2350d987fe7b60375839abdf2e (diff)
downloadrust-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.rs4
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.