fetch: move `Component::from` outside of loop
The previous code would convert the remote into a Component on
each iteration of the loop.
The conversion now happens outside of the loop and can be reused.
1 file changed
+2
-2
0e9d7607
→
4286590f
modified crates/radicle-fetch/src/git/mem.rs
@@ -26,10 +26,10 @@ impl Refdb {
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|