From 8b995b2763d4cb5c8c73913d795318c9ce7178f0 Mon Sep 17 00:00:00 2001 From: iximeow Date: Thu, 2 Nov 2023 08:01:17 -0700 Subject: ah and a doc comment for the public method --- src/armv7.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/armv7.rs b/src/armv7.rs index 2452f09..99df077 100644 --- a/src/armv7.rs +++ b/src/armv7.rs @@ -1105,6 +1105,8 @@ pub struct RegShift { } impl RegShift { + /// convert an instruction's `RegShift` operand into something more appropriate for + /// programmatic use. pub fn into_shift(&self) -> RegShiftStyle { if self.data & 0b10000 == 0 { RegShiftStyle::RegImm(RegImmShift { data: self.data }) -- cgit v1.1