Use macro auto_restore!.

This commit is contained in:
Stephen Chung
2022-12-04 14:06:54 +08:00
parent 58769dbb52
commit de0707f64f
23 changed files with 122 additions and 162 deletions

View File

@@ -57,7 +57,7 @@ impl Engine {
/// ```
#[inline]
pub fn register_fn<
A,
A: 'static,
const N: usize,
const C: bool,
R: Variant + Clone,