From c2959086439671554dea54d354e753ab03ce4691 Mon Sep 17 00:00:00 2001 From: Intege-rs Date: Tue, 11 Feb 2025 13:44:43 -0500 Subject: [PATCH] struct offset jetbrains bug, revert to macro rules --- sub/core/src/pstruct.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub/core/src/pstruct.rs b/sub/core/src/pstruct.rs index 96c3069..5ec6d32 100644 --- a/sub/core/src/pstruct.rs +++ b/sub/core/src/pstruct.rs @@ -91,7 +91,7 @@ impl Debug for VirtualOffset { #[macro_export] macro_rules! struct_offset { ($offset:literal, $type:ty) => { - $crate::sot::VirtualOffset<$type, $offset> + $crate::pstruct::VirtualOffset<$type, $offset> } } pub use struct_offset;