Skip to content

Commit

Permalink
chore: Address clippy lints for XKeys
Browse files Browse the repository at this point in the history
Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
  • Loading branch information
joonas committed Jun 12, 2024
1 parent d2eceda commit 810a0d1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/xkeys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,18 @@ impl XKey {
}
}

#[cfg(not(target_arch = "wasm32"))]
impl Default for XKey {
fn default() -> Self {
Self::new()
}
}

#[cfg(test)]
mod tests {
use super::*;
use crate::error::ErrorKind;
const MESSAGE: &'static [u8] = b"this is super secret";
const MESSAGE: &[u8] = b"this is super secret";

#[test]
fn seed_encode_decode_round_trip() {
Expand Down

0 comments on commit 810a0d1

Please sign in to comment.