From fdc8106ffa06b83f54a8115f2dc134cd82f912f3 Mon Sep 17 00:00:00 2001 From: wscp Date: Wed, 25 Oct 2023 21:17:34 +0530 Subject: make RegShift::into_shift public --- src/armv7.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/armv7.rs b/src/armv7.rs index 276b807..2452f09 100644 --- a/src/armv7.rs +++ b/src/armv7.rs @@ -1105,7 +1105,7 @@ pub struct RegShift { } impl RegShift { - fn into_shift(&self) -> RegShiftStyle { + pub fn into_shift(&self) -> RegShiftStyle { if self.data & 0b10000 == 0 { RegShiftStyle::RegImm(RegImmShift { data: self.data }) } else { -- cgit v1.1