Skip to content

Commit d7baa84

Browse files
authored
Merge pull request #395 from Superhepper/main
Handles Clippy lint error that occurs in Rust 1.68
2 parents 1a02c8f + 54e3f89 commit d7baa84

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tss-esapi-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ fn main() {
5757
}
5858
}
5959

60-
#[allow(clippy::uninlined_format_args)]
6160
#[cfg(feature = "generate-bindings")]
61+
#[allow(clippy::uninlined_format_args)]
6262
pub fn generate_from_system(esapi_out: PathBuf) {
6363
pkg_config::Config::new()
6464
.atleast_version(MINIMUM_VERSION)

tss-esapi/src/tcti_ldr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ pub enum BusType {
633633
Session,
634634
}
635635

636+
#[allow(clippy::derivable_impls)] // Remove this when MSRV is higher then 1.57
636637
impl Default for BusType {
637638
fn default() -> Self {
638639
BusType::System

0 commit comments

Comments
 (0)