It would be useful to allow a String to be passed to connect instead of just a &'static str. This code makes 'host' a String type, but allows the function to take either type. |
||
|---|---|---|
| .. | ||
| client.rs | ||
| lib.rs | ||
It would be useful to allow a String to be passed to connect instead of just a &'static str. This code makes 'host' a String type, but allows the function to take either type. |
||
|---|---|---|
| .. | ||
| client.rs | ||
| lib.rs | ||