These are chat archives for rust-lang/rust

25th
Aug 2017
lemonxah
@lemonxah
Aug 25 2017 08:18 UTC
Joonas Koivunen
@koivunej
Aug 25 2017 10:25 UTC
@lemonxah if make the HKT::filter method take self instead of &self you can remove the a.clone() and the whole A: Clone bound
lemonxah
@lemonxah
Aug 25 2017 10:26 UTC
thank you
Joonas Koivunen
@koivunej
Aug 25 2017 10:26 UTC
@lemonxah though i think you mean with the comment that you don't want that solution?
lemonxah
@lemonxah
Aug 25 2017 10:27 UTC
no that is fine
i will play around with it a bit more
Joonas Koivunen
@koivunej
Aug 25 2017 10:29 UTC
@lemonxah oki! vec also has retain which might be of interest, assuming you are trying to optimize things
Иван Плесских
@Amareis
Aug 25 2017 18:22 UTC
Hi
Denis Lisov
@tanriol
Aug 25 2017 18:22 UTC
Hi
Restioson
@Restioson
Aug 25 2017 18:23 UTC
:grinning:
Иван Плесских
@Amareis
Aug 25 2017 20:11 UTC
Can i declare attributes for imported items?