On Sun, Mar 23, 2014 at 2:04 AM, Patrick Walton <[email protected]>wrote:

> Why not change the signature of `search_crate` to take `~str`?
>
> Patrick
>

Hi Patrick,

The main reason I haven't done this is that it is already used from a bunch
of places where a path is &[&str] as the result of an earlier
split_str("::")
e.g.
       let path : ~[&str] = s.split_str("::").collect();
       ...
       search_crate(path);
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to