commit c4084c4117b96ca304a922caa89ea2d8a7e82b0d parent e4ca67127ecedf71ed50a9c215f74616af0a03f1 Author: William Casarin <jb55@jb55.com> Date: Mon, 14 Jul 2025 14:16:05 -0700 note_follows: remove unneeded derefence Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
M | crates/notedeck_ui/src/contacts.rs | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crates/notedeck_ui/src/contacts.rs b/crates/notedeck_ui/src/contacts.rs @@ -49,7 +49,7 @@ fn note_follows(contacts_note: Note<'_>, pk: &[u8; 32]) -> bool { continue; }; - if *pk == *author { + if pk == author { return true; } }