File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1+ # prevents a false-positive lint on our types containing bytes::Bytes
2+ # https://rust-lang.github.io/rust-clippy/master/index.html#/mutable_key_type
3+ ignore-interior-mutability = [" bytes::Bytes" , " circuit::netlist::NetRef" ]
Original file line number Diff line number Diff line change 7070{
7171 fn build ( netlist : & ' a Netlist < I > ) -> Result < Self , String > {
7272 let mut net_fan_out: HashMap < Net , Vec < NetRef < I > > > = HashMap :: new ( ) ;
73- #[ allow( clippy:: mutable_key_type) ]
7473 let mut node_fan_out: HashMap < NetRef < I > , Vec < NetRef < I > > > = HashMap :: new ( ) ;
7574 let mut is_an_output: HashSet < Net > = HashSet :: new ( ) ;
7675
@@ -139,7 +138,6 @@ where
139138 I : Instantiable ,
140139{
141140 fn build ( netlist : & ' a Netlist < I > ) -> Result < Self , String > {
142- #[ allow( clippy:: mutable_key_type) ]
143141 let mut comb_depth: HashMap < NetRef < I > , usize > = HashMap :: new ( ) ;
144142
145143 let mut nodes = Vec :: new ( ) ;
You can’t perform that action at this time.
0 commit comments