mirror of
https://github.com/urbit/ares.git
synced 2024-11-23 00:25:49 +03:00
add note to raw_slot
This commit is contained in:
parent
b88190f119
commit
23e33cfd11
@ -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 {
|
pub fn raw_slot(noun: Noun, axis: u64) -> Noun {
|
||||||
slot(noun, DirectAtom::new(axis).unwrap().as_bitslice())
|
slot(noun, DirectAtom::new(axis).unwrap().as_bitslice())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user