cargo clippy + fmt fixes
Dependencies
- [2]
VHLGEBT7packlist: less normalization to support proper roundtrips (which only truncate trailing spaces) - [3]
BUI22CYQ+zhed-packlist - [4]
V4EAN7NNmove some stuff around; more packlist stuff
Change contents
- edit in crates/zhed-packlist/src/lib.rs at line 4
clippy::as_conversions, - edit in crates/zhed-core/src/valuemodel.rs at line 1
use crate::Ident;use serde::{Deserialize, Serialize}; - edit in crates/zhed-core/src/valuemodel.rs at line 4
use serde::{Deserialize, Serialize}; - edit in crates/zhed-core/src/valuemodel.rs at line 5
use crate::Ident; - replacement in crates/zhed-core/src/valuemodel.rs at line 77
self.unbound_vars.get(id).map(|i| i.as_str()).ok_or_else(|| Error::UnboundVarNotFound(id.clone()))self.unbound_vars.get(id).map(|i| i.as_str()).ok_or_else(|| Error::UnboundVarNotFound(*id)) - replacement in crates/zhed-core/src/valuemodel.rs at line 87
use std::panic::{catch_unwind, AssertUnwindSafe, resume_unwind};use std::panic::{catch_unwind, resume_unwind, AssertUnwindSafe}; - replacement in crates/zhed-core/src/valuemodel.rs at line 102
},} - replacement in crates/zhed-core/src/valuemodel.rs at line 108
self.bound_vars.get(self.bound_vars.len() - 1 - id).map(|i| i.as_str()).ok_or_else(|| Error::BoundVarNotFound)self.bound_vars.get(self.bound_vars.len() - 1 - id).map(|i| i.as_str()).ok_or(Error::BoundVarNotFound)