rustc_
data_
structures
1.85.0-nightly
(a47555110 2024-11-22)
rustc_data_structures
Function
defer
Copy item path
Source
pub fn defer<F:
FnOnce
()>(f: F) ->
OnDrop
<F>
Expand description
Returns a structure that calls
f
when dropped.