mirror of
https://github.com/lune-org/lune.git
synced 2025-04-16 18:03:57 +01:00
fix: lint in process lib.rs
This commit is contained in:
parent
c9cbaf6183
commit
ad4b8a7c91
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ pub fn module(lua: &Lua) -> LuaResult<LuaTable> {
|
||||||
cwd_str.push(MAIN_SEPARATOR);
|
cwd_str.push(MAIN_SEPARATOR);
|
||||||
}
|
}
|
||||||
// Create constants for OS & processor architecture
|
// Create constants for OS & processor architecture
|
||||||
let os = lua.create_string(&OS.to_lowercase())?;
|
let os = lua.create_string(OS.to_lowercase())?;
|
||||||
let arch = lua.create_string(&ARCH.to_lowercase())?;
|
let arch = lua.create_string(ARCH.to_lowercase())?;
|
||||||
// Create readonly args array
|
// Create readonly args array
|
||||||
let args_vec = lua
|
let args_vec = lua
|
||||||
.app_data_ref::<Vec<String>>()
|
.app_data_ref::<Vec<String>>()
|
||||||
|
|
Loading…
Add table
Reference in a new issue