Skip to content
Snippets Groups Projects
Commit 0acade6b authored by Kornel's avatar Kornel
Browse files

Example update

parent f8eea522
No related branches found
No related tags found
No related merge requests found
......@@ -11,8 +11,9 @@ fn main() {
};
for &info in &[InfoType::Description, InfoType::Manufacturer, InfoType::Model, InfoType::Copyright] {
let data = profile.info(info, Locale::none());
println!("{:?} = {:?}", info, data);
if let Some(data) = profile.info(info, Locale::none()) {
println!("{:?} = {:?}", info, data);
}
}
for sig in profile.tag_signatures() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment