about summary refs log tree commit diff
path: root/src/pointer.rs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-03-29 10:45:09 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-03-29 10:45:09 +0200
commit07968a001d9e7dfd2417dfb57d3227e395691418 (patch)
tree367afabb3d748473281bbd2548c3de46d9c9c96f /src/pointer.rs
parent500bcfcdb3122d68cabdfc2eb9034d88b708e0bc (diff)
downloadrust-07968a001d9e7dfd2417dfb57d3227e395691418.tar.gz
rust-07968a001d9e7dfd2417dfb57d3227e395691418.zip
Merge commit '0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1' into sync_cg_clif-2021-03-29
Diffstat (limited to 'src/pointer.rs')
-rw-r--r--src/pointer.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pointer.rs b/src/pointer.rs
index 88a78f3214d..31d827f83bf 100644
--- a/src/pointer.rs
+++ b/src/pointer.rs
@@ -39,8 +39,7 @@ impl Pointer {
         Pointer { base: PointerBase::Dangling(align), offset: Offset32::new(0) }
     }
 
-    #[cfg(debug_assertions)]
-    pub(crate) fn base_and_offset(self) -> (PointerBase, Offset32) {
+    pub(crate) fn debug_base_and_offset(self) -> (PointerBase, Offset32) {
         (self.base, self.offset)
     }