rust: update to rustc 1.81.0

This commit is contained in:
Stéphane Cerveau 2024-09-11 16:13:21 +02:00
parent cb9361939c
commit 63974e44d8

View file

@ -1266,7 +1266,7 @@ impl GraphView {
if let Some(id) = attrs.get::<String>(&String::from("id")) { if let Some(id) = attrs.get::<String>(&String::from("id")) {
self.set_id(id.parse::<u32>().expect("id should be an u32")); self.set_id(id.parse::<u32>().expect("id should be an u32"));
} }
if let Some(version) = attrs.get::<String>(&"version".to_string()) { if let Some(version) = attrs.get::<String>(&String::from("version")) {
info!("Found file format version: {}", version); info!("Found file format version: {}", version);
} else { } else {
warn!("No file format version found"); warn!("No file format version found");