Add the dyn keyword before trait objects;

This commit is contained in:
Benjamin Bouvier
2019-06-06 10:11:41 +02:00
parent eee824b6bd
commit d7d48d5cc6
77 changed files with 274 additions and 247 deletions

View File

@@ -49,7 +49,7 @@ impl<F: Forest> Path<F> {
key: F::Key,
root: Node,
pool: &NodePool<F>,
comp: &Comparator<F::Key>,
comp: &dyn Comparator<F::Key>,
) -> Option<F::Value> {
let mut node = root;
for level in 0.. {