This commit is contained in:
bjorn3
2019-09-28 16:43:00 +02:00
committed by Dan Gohman
parent c274d81b5b
commit bb8fa40ef0
49 changed files with 62 additions and 62 deletions

View File

@@ -429,8 +429,8 @@ where
mod tests {
use super::super::NodeData;
use super::*;
use core::mem;
use alloc::vec::Vec;
use core::mem;
#[test]
fn node_size() {

View File

@@ -584,8 +584,8 @@ where
#[cfg(test)]
mod tests {
use super::*;
use core::mem;
use alloc::string::ToString;
use core::mem;
// Forest impl for a set implementation.
struct TF();

View File

@@ -84,9 +84,9 @@ impl<F: Forest> NodePool<F> {
F::Key: fmt::Display,
{
use crate::entity::EntitySet;
use alloc::vec::Vec;
use core::borrow::Borrow;
use core::cmp::Ordering;
use alloc::vec::Vec;
// The root node can't be an inner node with just a single sub-tree. It should have been
// pruned.

View File

@@ -3,10 +3,10 @@
use super::{Comparator, Forest, Node, NodeData, NodePool, Path, SetValue, INNER_SIZE};
use crate::packed_option::PackedOption;
#[cfg(test)]
use alloc::string::String;
#[cfg(test)]
use core::fmt;
use core::marker::PhantomData;
#[cfg(test)]
use alloc::string::String;
/// Tag type defining forest types for a set.
struct SetTypes<K>(PhantomData<K>);
@@ -357,8 +357,8 @@ where
mod tests {
use super::super::NodeData;
use super::*;
use core::mem;
use alloc::vec::Vec;
use core::mem;
#[test]
fn node_size() {