We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54f0db6 commit c7813efCopy full SHA for c7813ef
library/alloc/src/collections/btree/node.rs
@@ -1676,6 +1676,7 @@ pub mod marker {
1676
// happens using the result of `borrow_mut`.
1677
// By disabling traversal, and only creating new references to roots,
1678
// we know that every reference of the `Owned` type is to a root node.
1679
+ #[cfg(not(doc))]
1680
const TRAVERSAL_PERMIT: () = panic!();
1681
}
1682
impl BorrowType for Dying {}
0 commit comments