Merge branch 'status' into philip/jets

This commit is contained in:
Edward Amsden 2023-02-02 13:51:44 -06:00 committed by GitHub
commit 4edd3a6fb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -520,6 +520,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())
} }