#rustlang protip. If you're writing a method that takes a trait (e.g. Stream) do fn foo<I: Stream>(stream: &I) not fn foo(stream: &Stream)
@nzkoz guarantees static dispatch, much more mature feature, saves you from annoying casts
-
-
@wycats@nzkoz re annoying casts, see https://github.com/mozilla/rust/pull/11156 … :) -
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.