These are chat archives for rust-lang/rust

25th
Aug 2017
lemonxah
@lemonxah
Aug 25 2017 08:18
Joonas Koivunen
@koivunej
Aug 25 2017 10:25
@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
thank you
Joonas Koivunen
@koivunej
Aug 25 2017 10:26
@lemonxah though i think you mean with the comment that you don't want that solution?
lemonxah
@lemonxah
Aug 25 2017 10:27
no that is fine
i will play around with it a bit more
Joonas Koivunen
@koivunej
Aug 25 2017 10:29
@lemonxah oki! vec also has retain which might be of interest, assuming you are trying to optimize things
Иван Плесских
@Amareis
Aug 25 2017 18:22
Hi
Denis Lisov
@tanriol
Aug 25 2017 18:22
Hi
Restioson
@Restioson
Aug 25 2017 18:23
:grinning:
Иван Плесских
@Amareis
Aug 25 2017 20:11
Can i declare attributes for imported items?