From 23e33cfd11b0d63b5ffe4d0d311856dc0bac879b Mon Sep 17 00:00:00 2001 From: Philip Monk Date: Thu, 2 Feb 2023 10:54:31 -0700 Subject: [PATCH] add note to raw_slot --- rust/ares/src/interpreter.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/ares/src/interpreter.rs b/rust/ares/src/interpreter.rs index 6604d45..94168d1 100644 --- a/rust/ares/src/interpreter.rs +++ b/rust/ares/src/interpreter.rs @@ -505,6 +505,7 @@ fn push_formula(stack: &mut NockStack, formula: Noun) { } } +/** Note: axis must fit in a direct atom */ pub fn raw_slot(noun: Noun, axis: u64) -> Noun { slot(noun, DirectAtom::new(axis).unwrap().as_bitslice()) }