summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2023-06-20 23:49:48 +0100
committerAlex Orlenko <zxteam@protonmail.com>2023-06-20 23:49:48 +0100
commitaeacf6caccc3818d192e87fffc9f392899fd929c (patch)
treeb6c83be64964d5024b7aece112ea36ee858f72a0
parent1f0e81c9a1e425be3c2b24490024ab05cdea72be (diff)
downloadmlua-aeacf6caccc3818d192e87fffc9f392899fd929c.zip
Remove `allow(dead_code)` from mlua-sys build scripts
-rw-r--r--mlua-sys/build/find_normal.rs2
-rw-r--r--mlua-sys/build/find_vendored.rs2
2 files changed, 0 insertions, 4 deletions
diff --git a/mlua-sys/build/find_normal.rs b/mlua-sys/build/find_normal.rs
index dd81c57..c009d73 100644
--- a/mlua-sys/build/find_normal.rs
+++ b/mlua-sys/build/find_normal.rs
@@ -1,5 +1,3 @@
-#![allow(dead_code)]
-
use std::env;
use std::ops::Bound;
use std::path::PathBuf;
diff --git a/mlua-sys/build/find_vendored.rs b/mlua-sys/build/find_vendored.rs
index 0da3cee..f7e33ab 100644
--- a/mlua-sys/build/find_vendored.rs
+++ b/mlua-sys/build/find_vendored.rs
@@ -1,5 +1,3 @@
-#![allow(dead_code)]
-
use std::path::PathBuf;
pub fn probe_lua() -> Option<PathBuf> {