Skip to content

Commit c7813ef

Browse files
author
Lukas Markeffsky
committed
dumb workaround for dumb error
1 parent 54f0db6 commit c7813ef

File tree

1 file changed

+1
-0
lines changed
  • library/alloc/src/collections/btree

1 file changed

+1
-0
lines changed

library/alloc/src/collections/btree/node.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1676,6 +1676,7 @@ pub mod marker {
16761676
// happens using the result of `borrow_mut`.
16771677
// By disabling traversal, and only creating new references to roots,
16781678
// we know that every reference of the `Owned` type is to a root node.
1679+
#[cfg(not(doc))]
16791680
const TRAVERSAL_PERMIT: () = panic!();
16801681
}
16811682
impl BorrowType for Dying {}

0 commit comments

Comments
 (0)