From 1e6e09789096efa4040303385e85844ffe439a2b Mon Sep 17 00:00:00 2001 From: Blake Griffith Date: Wed, 23 Oct 2024 12:09:30 -0400 Subject: [PATCH] docs & rm unneeded derive(Clone) --- src/core.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.rs b/src/core.rs index 5d61738..d1bc148 100644 --- a/src/core.rs +++ b/src/core.rs @@ -53,7 +53,7 @@ pub struct Hypercore { } /// Response from append, matches that of the Javascript result -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, PartialEq)] pub struct AppendOutcome { /// Length of the hypercore after append pub length: u64, @@ -359,7 +359,7 @@ impl Hypercore { pub async fn get(&mut self, index: u64) -> Result>, HypercoreError> { if !self.bitfield.get(index) { #[cfg(feature = "replication")] - // if not in this core, try to get over network + // if not in this core, emit Event::Get(index) { self.events.send_on_get(index); }