- use color-eyre

This commit is contained in:
w.pomp
2026-01-23 11:16:10 +01:00
parent 86f1c50c30
commit 8883ae7e5e
4 changed files with 38 additions and 32 deletions

View File

@@ -135,8 +135,8 @@ impl Tag {
}
}
pub fn byte(code: u16, value: &Vec<u8>) -> Self {
Tag::new(code, value.to_owned(), 1)
pub fn byte(code: u16, value: &[u8]) -> Self {
Tag::new(code, value.to_vec(), 1)
}
pub fn ascii(code: u16, value: &str) -> Self {