diff options
author | iximeow <me@iximeow.net> | 2022-01-02 00:15:58 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2022-01-02 00:15:58 -0800 |
commit | 32274dc0dcd6b7dccc7a81ed63974224c614103a (patch) | |
tree | a3ddf19231e0aed5f1ab9fae833e721962d63688 | |
parent | d7effd5f49af37f560a061b3d82716b807eb8a36 (diff) |
why did that compile
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,11 +38,11 @@ //! } //! } //! -//! use yaxpeax_arm::armv8::a64::Arch; +//! use yaxpeax_arm::armv8::a64::ARMv8; //! use yaxpeax_arch::{ReaderBuilder, U8Reader}; //! let data: &[u8] = &[0x94, 0x02, 0x1e, 0x32]; //! // would display `orr w20, w20, #0x4`. -//! decoder::decode_stream::<x86_64, _>(data); +//! decoder::decode_stream::<ARMv8, _>(data); //! ``` #![no_std] |