@@ -8,13 +8,13 @@ use std::collections::{HashMap, HashSet};
88use std:: fmt:: { Debug , Display , Formatter } ;
99use std:: path:: PathBuf ;
1010use warp:: chunk:: { Chunk , ChunkKind , CompressionType } ;
11+ use warp:: r#type:: chunk:: TypeChunk ;
1112use warp:: r#type:: guid:: TypeGUID ;
1213use warp:: r#type:: { ComputedType , Type } ;
1314use warp:: signature:: chunk:: SignatureChunk ;
1415use warp:: signature:: function:: { Function , FunctionGUID } ;
1516use warp:: target:: Target ;
1617use warp:: { WarpFile , WarpFileHeader } ;
17- use warp:: r#type:: chunk:: TypeChunk ;
1818
1919pub mod client;
2020
@@ -109,7 +109,7 @@ impl NetworkContainer {
109109 // Split guids into known and unknown
110110 let ( _known, unknown) : ( Vec < _ > , Vec < _ > ) = guids
111111 . into_iter ( )
112- . cloned ( )
112+ . copied ( )
113113 . partition ( |guid| self . known_function_sources . contains_key ( guid) ) ;
114114
115115 let mut result: HashMap < SourceId , Vec < FunctionGUID > > = HashMap :: new ( ) ;
@@ -127,7 +127,7 @@ impl NetworkContainer {
127127 let sources = queried_results
128128 . keys ( )
129129 . filter ( |source_id| queried_results[ source_id] . contains ( guid) )
130- . cloned ( )
130+ . copied ( )
131131 . collect ( ) ;
132132 self . known_function_sources . insert ( * guid, sources) ;
133133 }
0 commit comments