> > forall<T:ByteStream, U> { > impl BinaryEncoder<T> for MyStruct<U> { … } > impl BinaryDecoder<T> for MyStruct<U> { … } > }
comex mentioned the idea of a generic module. That would be interesting. I like that idea better then this. > > I also like how it breaks across lines: > > forall<T, U> > struct Foo { > … > } > I guess it currently breaks ok for long type params: impl<T, U> Trait<T> for Foo<T,U> { ... } I think the grep issue will be solved by libsyntax being integrated in text editor plugins. -Eric _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev