We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c6d081 commit b690e4aCopy full SHA for b690e4a
1 file changed
src/lib.rs
@@ -23,6 +23,7 @@ pub struct Artifacts {
23
}
24
25
impl Build {
26
+ #[allow(clippy::new_without_default)]
27
pub fn new() -> Build {
28
Build {
29
out_dir: env::var_os("OUT_DIR").map(|s| PathBuf::from(s).join("lua-build")),
@@ -178,8 +179,8 @@ impl Build {
178
179
180
181
Artifacts {
- lib_dir: lib_dir,
182
- include_dir: include_dir,
+ lib_dir,
183
+ include_dir,
184
libs: vec![lib_name.to_string()],
185
186
0 commit comments