(id_hex: &str)
| 56 | } |
| 57 | |
| 58 | pub(super) fn binding_conflict(id_hex: &str) -> PristineError { |
| 59 | PristineError::Serialization { |
| 60 | message: format!( |
| 61 | "immutable binding {id_hex} already exists with different bytes; refusing to overwrite" |
| 62 | ), |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | #[cfg(test)] |
| 67 | mod tests { |
no outgoing calls
no test coverage detected