We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ec4e2e commit 909a92bCopy full SHA for 909a92b
src/lib/lib.rs
@@ -58,7 +58,7 @@ impl LoadAddress {
58
/// Example:
59
/// ~~~
60
/// use matrix65::LoadAddress;
61
- /// let mut bytes : Vec<u8> = vec![0x01, 0x08, 0xff];
+ /// let bytes: [u8; 3] = [0x01, 0x08, 0xff];
62
/// let load_address = LoadAddress::from_bytes(&bytes).unwrap();
63
/// assert_eq!(load_address.value(), 0x0801);
64
0 commit comments