Rustfmt
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user