protocol/fetcher: Remove `from` from `QueuedFetch`
modified crates/radicle-node/src/runtime/handle.rs
@@ -368,7 +368,6 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/state.rs
@@ -191,13 +191,11 @@ impl FetcherState {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -301,9 +299,6 @@ impl ActiveFetch {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue.rs
@@ -8,7 +8,7 @@ use std::time::Duration;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -20,7 +20,6 @@ impl Arbitrary for QueuedFetch {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue/helpers.rs
@@ -13,7 +13,6 @@ pub fn create_queue(capacity: usize) -> Queue {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue/properties/merge.rs
@@ -30,7 +30,6 @@ fn same_rid_merges_anywhere_in_queue(max_size: MaxQueueSize, merge_index: usize)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -51,14 +50,12 @@ fn combines_refs(base_refs_count: u8, merge_refs_count: u8) -> bool {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -89,7 +86,6 @@ fn empty_refs_fetches_all() -> bool {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -97,7 +93,6 @@ fn empty_refs_fetches_all() -> bool {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -119,14 +114,12 @@ fn longer_timeout_preserved(short_secs: u16, long_secs: u16) -> bool {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -151,14 +144,12 @@ fn does_not_increase_queue_length() -> bool {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -194,21 +185,18 @@ fn succeed_when_at_capacity() -> bool {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue/unit.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -12,7 +12,6 @@ fn zero_timeout_accepted() {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -24,7 +23,6 @@ fn max_timeout_accepted() {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -34,18 +32,15 @@ fn max_timeout_accepted() {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -64,19 +59,16 @@ fn merge_preserves_position_in_queue() {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -84,7 +76,6 @@ fn merge_preserves_position_in_queue() {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/command/fetched.rs
@@ -81,7 +81,6 @@ fn complete_then_dequeue_fifo() {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/dequeue.rs
@@ -41,7 +41,6 @@ fn cannot_dequeue_while_node_at_capacity() {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-protocol/src/service.rs
@@ -1184,7 +1184,6 @@ where
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1203,14 +1202,14 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|