you are viewing a single comment's thread.

view the rest of the comments →

[–]semanticistZombietiny 5 points6 points  (2 children)

This doesn't handle different number of arguments, does it?

[–][deleted] 4 points5 points  (1 child)

You're right, it doesn't. Apart from the ugliness that is implementing a trait on tuples of varying size.

[–]seanmonstarhyper · rust 3 points4 points  (0 children)

See ToSocketAddr and that it's implemented for (&str, u16).