Last active
February 1, 2022 05:04
-
-
Save ihcsim/281c1f555001457622ec53242e9cd05b 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
fn main() { | |
let svc = "nginx.default".to_string(); | |
let strict = true; | |
if strict { | |
println!("svc: {}", fqdn(svc)); | |
} else { | |
println!("svc: {}", svc); | |
} | |
println!("svc: {}", svc); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment