diff options
Diffstat (limited to 'plugins/warp/src/cache.rs')
| -rw-r--r-- | plugins/warp/src/cache.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/warp/src/cache.rs b/plugins/warp/src/cache.rs index f39bceb2..8111ca51 100644 --- a/plugins/warp/src/cache.rs +++ b/plugins/warp/src/cache.rs @@ -28,7 +28,9 @@ pub fn register_cache_destructor() { pub static mut CACHE_DESTRUCTOR: CacheDestructor = CacheDestructor; #[allow(static_mut_refs)] // SAFETY: This can be done as the backing data is an opaque ZST. - unsafe { CACHE_DESTRUCTOR.register() }; + unsafe { + CACHE_DESTRUCTOR.register() + }; } pub fn cached_function_match<F>(function: &BNFunction, f: F) -> Option<Function> |
