Skip to content

Commit

Permalink
fix: Fix clippy warnings in clp-sys crate. (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
jetuk authored Feb 17, 2024
1 parent 0d53c1e commit 941ba91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions clp-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn main() {
let mut builder = make_builder();

builder
.flag(&*format!("-I{}", COIN_UTILS_SRC))
.flag(&format!("-I{}", COIN_UTILS_SRC))
.file(format!("{}/CoinAlloc.cpp", COIN_UTILS_SRC))
.file(format!("{}/CoinBuild.cpp", COIN_UTILS_SRC))
.file(format!("{}/CoinDenseFactorization.cpp", COIN_UTILS_SRC))
Expand Down Expand Up @@ -104,8 +104,8 @@ fn main() {
let mut builder = make_builder();

builder
.flag(&*format!("-I{}", COIN_UTILS_SRC))
.flag(&*format!("-I{}", COIN_CLP_SRC))
.flag(&format!("-I{}", COIN_UTILS_SRC))
.flag(&format!("-I{}", COIN_CLP_SRC))
.file(format!("{}/ClpCholeskyBase.cpp", COIN_CLP_SRC))
.file(format!("{}/ClpCholeskyDense.cpp", COIN_CLP_SRC))
.file(format!("{}/ClpCholeskyPardiso.cpp", COIN_CLP_SRC))
Expand Down
4 changes: 2 additions & 2 deletions clp-sys/src/bindings.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* automatically generated by rust-bindgen 0.57.0 */

pub const CLP_VERSION: &'static [u8; 6usize] = b"trunk\0";
pub const CLP_VERSION: &[u8; 6usize] = b"trunk\0";
pub const CLP_VERSION_MAJOR: u32 = 9999;
pub const CLP_VERSION_MINOR: u32 = 9999;
pub const CLP_VERSION_RELEASE: u32 = 9999;
pub const COINUTILS_VERSION: &'static [u8; 7usize] = b"master\0";
pub const COINUTILS_VERSION: &[u8; 7usize] = b"master\0";
pub const COINUTILS_VERSION_MAJOR: u32 = 9999;
pub const COINUTILS_VERSION_MINOR: u32 = 9999;
pub const COINUTILS_VERSION_RELEASE: u32 = 9999;
Expand Down

0 comments on commit 941ba91

Please sign in to comment.