mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 02:09:00 +00:00
ui-contract: NodeKey::raw is test-only, as AccessTree::none is, now that the access tree builds without the testing feature
This commit is contained in:
@@ -26,6 +26,7 @@ pub struct NodeKey(u64);
|
||||
|
||||
impl NodeKey {
|
||||
/// The AccessKit node number.
|
||||
#[cfg(feature = "testing")]
|
||||
pub(crate) fn raw(self) -> u64 {
|
||||
self.0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user