Requested Changes

- Removed explicit type annotation.
- Changed panic to assert_eq
This commit is contained in:
simon-curtis
2024-10-23 21:40:29 +01:00
committed by Simon Curtis
parent 82c2ae1cfd
commit 7efbfe020c
3 changed files with 7 additions and 7 deletions

View File

@ -104,7 +104,7 @@ impl Command for BytesAt {
},
Example {
description: "Slice out `0x[10 01 13]` from `0x[33 44 55 10 01 13]`",
example: "0x[33 44 55 10 01 13 10] | bytes at 3..6",
example: "0x[33 44 55 10 01 13] | bytes at 3..6",
result: Some(Value::test_binary(vec![0x10, 0x01, 0x13, 0x10])),
},
Example {