diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-09-15 12:29:42 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-09-15 13:05:00 +0200 |
| commit | c18321a4c24b1bae9b935e3434aa114f930ca5f5 (patch) | |
| tree | e6b0aa69c6c7a2855ca498d7c7e8aabe0347297c /src/layout/tree.rs | |
| parent | 87e776fcebd40cb9628124c19e7e9190b1bd24a5 (diff) | |
Bugfix and tidying
Diffstat (limited to 'src/layout/tree.rs')
| -rw-r--r-- | src/layout/tree.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/layout/tree.rs b/src/layout/tree.rs index 28cbbb51..36d0ac25 100644 --- a/src/layout/tree.rs +++ b/src/layout/tree.rs @@ -2,13 +2,12 @@ use std::fmt::{self, Debug, Formatter}; use super::*; -use std::any::Any; - -#[cfg(feature = "layout-cache")] -use std::hash::{Hash, Hasher}; - #[cfg(feature = "layout-cache")] -use fxhash::FxHasher64; +use { + fxhash::FxHasher64, + std::any::Any, + std::hash::{Hash, Hasher}, +}; /// A tree of layout nodes. #[derive(Debug)] |
