Skip to content

Commit 909a92b

Browse files
committed
Simplify test
1 parent 7ec4e2e commit 909a92b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl LoadAddress {
5858
/// Example:
5959
/// ~~~
6060
/// use matrix65::LoadAddress;
61-
/// let mut bytes : Vec<u8> = vec![0x01, 0x08, 0xff];
61+
/// let bytes: [u8; 3] = [0x01, 0x08, 0xff];
6262
/// let load_address = LoadAddress::from_bytes(&bytes).unwrap();
6363
/// assert_eq!(load_address.value(), 0x0801);
6464
/// ~~~

0 commit comments

Comments
 (0)