mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
e64ca8cd59
This is useful when you have an API that takes a `T: ToSocketAddrs` and needs to turn that into an owned value which will be passed to another API taking `T: ToSocketAddrs` at a later time, for example: https://github.com/sfackler/rust-hyper-socks/blob/master/src/lib.rs#L15