Style and Clippy fixes.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -173,6 +173,7 @@ script_function_cache! {
|
||||
}
|
||||
|
||||
impl ScriptFunctionCache {
|
||||
/// Get the name of a script.
|
||||
pub(crate) fn script_get_name(&self, env: &Arc<WebAssemblyEnvironmentData>) -> Option<TypedFunction<u32, u32>> {
|
||||
{
|
||||
let read_lock = self.script_get_name.read();
|
||||
@@ -191,6 +192,7 @@ impl ScriptFunctionCache {
|
||||
self.script_get_name.read().as_ref().cloned()
|
||||
}
|
||||
|
||||
/// Drop the memory of a CString inside the WASM memory.
|
||||
pub(crate) fn dealloc_cstring(&self, env: &Arc<WebAssemblyEnvironmentData>) -> Option<TypedFunction<u32, ()>> {
|
||||
{
|
||||
let read_lock = self.dealloc_cstring.read();
|
||||
|
||||
Reference in New Issue
Block a user