plotnik-bytecode 0.3.2

Bytecode format and runtime types for Plotnik
Documentation
1
2
3
4
5
6
7
use super::*;

#[test]
fn slice_range() {
    let slice = Slice { ptr: 5, len: 3 };
    assert_eq!(slice.range(), 5..8);
}