svcb: fix build error
when running tests: ``` error[E0277]: the trait bound `Vec<u8>: From<&[u8; 5]>` is not satisfied ```
This commit is contained in:
@@ -511,7 +511,7 @@ mod tests {
|
||||
priority: 1,
|
||||
params: vec![(
|
||||
SvcParamKey::Key(667),
|
||||
SvcParamValue::Unknown(Unknown(b"hello".into())),
|
||||
SvcParamValue::Unknown(Unknown((*b"hello").into())),
|
||||
)],
|
||||
},
|
||||
// Figure 6: A Generic Key and Quoted Value with a Decimal Escape
|
||||
@@ -522,7 +522,7 @@ mod tests {
|
||||
priority: 1,
|
||||
params: vec![(
|
||||
SvcParamKey::Key(667),
|
||||
SvcParamValue::Unknown(Unknown(b"hello\\210qoo".into())),
|
||||
SvcParamValue::Unknown(Unknown((*b"hello\\210qoo").into())),
|
||||
)],
|
||||
},
|
||||
// Figure 7: Two Quoted IPv6 Hints
|
||||
|
Reference in New Issue
Block a user