This website requires JavaScript.
Explore
Help
Sign in
zedfrigg
/
zoodex
Watch
1
Star
0
Fork
You've already forked zoodex
0
Code
Issues
Pull requests
Releases
Activity
Actions
32c1d2ab67
zoodex
/
src
/
utility.rs
4 lines
87 B
Rust
Raw
Normal View
History
Unescape
Escape
Leak utility funtion now return immutable reference
2024-11-20 17:17:35 +01:00
pub
fn
leak
<
'
l
,
T
>
(
inner
:
T
)
->
&
'
l
T
{
Initial commit, part deux
2024-11-20 16:32:37 +01:00
Box
::
leak
(
Box
::
new
(
inner
)
)
}
Reference in a new issue
Copy permalink