mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-19 01:24:21 +01:00
drive-by clippy fixes
This commit is contained in:
@@ -14,7 +14,7 @@ pub struct PubkeyRef<'a>(&'a [u8; 32]);
|
||||
|
||||
static HRP_NPUB: bech32::Hrp = bech32::Hrp::parse_unchecked("npub");
|
||||
|
||||
impl<'a> Borrow<[u8; 32]> for PubkeyRef<'a> {
|
||||
impl Borrow<[u8; 32]> for PubkeyRef<'_> {
|
||||
fn borrow(&self) -> &[u8; 32] {
|
||||
self.0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user