mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-29 15:49:13 +00:00
remove explicit Default impl
This commit is contained in:
parent
ba6165726b
commit
213e16f4ee
1 changed files with 1 additions and 10 deletions
|
@ -2,7 +2,7 @@ use crate::{DatabaseKeyIndex, RuntimeId};
|
|||
use rustc_hash::FxHashMap;
|
||||
use smallvec::SmallVec;
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Default)]
|
||||
pub(super) struct DependencyGraph {
|
||||
/// A `(K -> V)` pair in this map indicates that the the runtime
|
||||
/// `K` is blocked on some query executing in the runtime `V`.
|
||||
|
@ -21,15 +21,6 @@ struct Edge {
|
|||
path: Vec<DatabaseKeyIndex>,
|
||||
}
|
||||
|
||||
impl Default for DependencyGraph {
|
||||
fn default() -> Self {
|
||||
DependencyGraph {
|
||||
edges: Default::default(),
|
||||
query_dependents: Default::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl DependencyGraph {
|
||||
/// True if `from_id` depends on `to_id`.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue