fix(ci): restore stable hex check and satisfy browser clippy gate

This commit is contained in:
argenis de la rosa 2026-02-14 19:09:35 -05:00
parent 2c7021e90f
commit db1366f3e5
2 changed files with 2 additions and 1 deletions

View file

@ -241,7 +241,7 @@ fn hex_encode(data: &[u8]) -> String {
/// Hex-decode a hex string to bytes.
fn hex_decode(hex: &str) -> Result<Vec<u8>> {
if !hex.len().is_multiple_of(2) {
if (hex.len() & 1) != 0 {
anyhow::bail!("Hex string has odd length");
}
(0..hex.len())

View file

@ -365,6 +365,7 @@ impl BrowserTool {
}
}
#[allow(clippy::too_many_lines)]
#[async_trait]
impl Tool for BrowserTool {
fn name(&self) -> &str {