pub fn read_config<T: DeserializeOwned + Debug>(
    label: &str,
    contents: &str,
) -> Result<T, toml::de::Error> {
    let result = toml::from_str(contents);
    eprintln!("config \"{}\": {:?}", label, result);
    result
}
/**
 * Load an object of type `T` (usually a hunk of configuration) from the string
 * `contents`.  `label` is used as an identifying string in a log message.  It
 * should be unique for each test.
 */
Load an object of type `T` (usually a hunk of configuration) from the string
`contents`.  `label` is used as an identifying string in a log message.  It
should be unique for each test.
Load an object of type ` T ` ( usually a hunk of configuration ) from the string ` contents ` . ` label ` is used as an identifying string in a log message . It should be unique for each test .
pub fn read_config<T: DeserializeOwned + Debug>(
    label: &str,
    contents: &str,
) -> Result<T, toml::de::Error> {
    let result = toml::from_str(contents);
    eprintln!("config \"{}\": {:?}", label, result);
    result
}
pub fn read_config < T : DeserializeOwned + Debug > ( label : & str , contents : & str , ) -> Result < T , toml :: de :: Error > { let result = toml :: from_str ( contents ) ; eprintln ! ( " \" \" " label result ) ; result }
Load an object of type `T` (usually a hunk of configuration) from the string
 `contents`.
Load an object of type ` T ` ( usually a hunk of configuration ) from the string ` contents ` .
label
&str
contents
&str
label
&str
contents
&str