- use color-eyre
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user