aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2022-01-02 00:15:58 -0800
committeriximeow <me@iximeow.net>2022-01-02 00:15:58 -0800
commit32274dc0dcd6b7dccc7a81ed63974224c614103a (patch)
treea3ddf19231e0aed5f1ab9fae833e721962d63688 /src/lib.rs
parentd7effd5f49af37f560a061b3d82716b807eb8a36 (diff)
why did that compile
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 58a7667..3afdd60 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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]