Created
April 27, 2019 10:23
-
-
Save yoshuawuyts/e810cc7021b71b5739eff77ce54aba1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// required | |
let listener = TcpListener::bind((args.address.as_str(), args.port))?; | |
// what we want to be able to do | |
let listener = TcpListener::bind((&args.address, args.port))?; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment