macro_rules! fqdn {
($($args:expr),*) => { ... };
}Expand description
Parses a list of strings and creates an new FQDN by concatenating them.
If the trailing dot is missing, it is automatically added.
§Examples
use fqdn::fqdn;
let fqdn = fqdn!("rust-lang", "github.io");§Panics
If one of the elements is not a valid symbol, the macro panics.
ⓘ
use fqdn::fqdn;
let s = fqdn!("w@w","fr"); // panics !!