Skip to content

Commit f16f2d6

Browse files
committed
Fix hasbrown compile error and mkdocs
1 parent d5e1df9 commit f16f2d6

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

docs/mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ plugins:
4646
- mkdocstrings:
4747
handlers:
4848
python:
49-
paths: [cachebox]
49+
paths: [..]
5050
options:
5151
docstring_style: google
5252
docstring_section_style: list

src/hashbrown/control/group/generic.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
use super::super::{BitMask, Tag};
2-
use core::{mem, ptr};
1+
use super::super::BitMask;
2+
use super::super::Tag;
3+
use core::mem;
4+
use core::ptr;
35

46
// Use the native word size as the group size. Using a 64-bit group size on
57
// a 32-bit architecture will just end up being more expensive because
68
// shifts and multiplies will need to be emulated.
79

8-
cfg_if! {
10+
cfg_if::cfg_if! {
911
if #[cfg(any(
1012
target_pointer_width = "64",
1113
target_arch = "aarch64",

0 commit comments

Comments
 (0)