You can convert ~str to &str with `as_slice`. It will also coerce, but
that will likely go away in the near future.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to