Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cpetig committed May 17, 2024
2 parents 15ba304 + b342747 commit d1a3d88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/rust/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2227,7 +2227,8 @@ impl<'a> {camel}Borrow<'a>{{
self.src,
r#"
impl {name} {{
pub(crate) unsafe fn _lift(val: {repr}) -> {name} {{
#[doc(hidden)]
pub unsafe fn _lift(val: {repr}) -> {name} {{
if !cfg!(debug_assertions) {{
return ::core::mem::transmute(val);
}}
Expand Down

0 comments on commit d1a3d88

Please sign in to comment.