File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -344,7 +344,6 @@ impl UnresolvedDataSource {
344344 Ok ( ( ) )
345345 }
346346
347- #[ allow( dead_code) ]
348347 pub ( super ) async fn resolve < C : Blockchain > (
349348 self ,
350349 resolver : & Arc < dyn LinkResolver > ,
Original file line number Diff line number Diff line change @@ -1702,7 +1702,6 @@ mod validations {
17021702
17031703 /// Helper struct for validations
17041704 struct Schema < ' a > {
1705- #[ allow( dead_code) ]
17061705 spec_version : & ' a Version ,
17071706 schema : & ' a BaseSchema ,
17081707 subgraph_schema_type : Option < & ' a s:: ObjectType > ,
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ use crate::query::ext::BlockConstraint;
2424/// A resolver that fetches entities from a `Store`.
2525#[ derive( Clone , CheapClone ) ]
2626pub struct StoreResolver {
27- #[ allow( dead_code) ]
2827 logger : Logger ,
2928 pub ( crate ) store : Arc < dyn QueryStore > ,
3029 pub ( crate ) block_ptr : Option < BlockPtr > ,
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ pub enum DeterminismLevel {
99 Deterministic ,
1010
1111 /// This error is known to be non-deterministic. For example, an intermittent http failure.
12- #[ allow( dead_code) ]
1312 NonDeterministic ,
1413
1514 /// The runtime is processing a given block, but there is an indication that the blockchain client
Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ pub struct IndexNodeResolver<S: Store> {
9898 logger : Logger ,
9999 blockchain_map : Arc < BlockchainMap > ,
100100 store : Arc < S > ,
101- #[ allow( dead_code) ]
102101 link_resolver : Arc < dyn LinkResolver > ,
103102 bearer_token : Option < String > ,
104103}
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ impl Watcher {
4040 }
4141 }
4242
43- #[ allow( dead_code) ]
4443 fn send ( & self ) {
4544 // Unwrap: `self` holds a receiver.
4645 self . sender . send ( ( ) ) . unwrap ( )
You can’t perform that action at this time.
0 commit comments