Skip to content

Commit 2ba8956

Browse files
committed
Address clippy complaints in libclarity.rs
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 264831e commit 2ba8956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clarity/src/libclarity.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ const GIT_COMMIT: Option<&'static str> = option_env!("GIT_COMMIT");
101101
const GIT_TREE_CLEAN: Option<&'static str> = option_env!("GIT_TREE_CLEAN");
102102

103103
#[cfg(debug_assertions)]
104-
const BUILD_TYPE: &'static str = "debug";
104+
const BUILD_TYPE: &str = "debug";
105105
#[cfg(not(debug_assertions))]
106-
const BUILD_TYPE: &'static str = "release";
106+
const BUILD_TYPE: &str = "release";
107107

108108
pub fn version_string(pkg_name: &str, pkg_version: &str) -> String {
109109
let git_branch = GIT_BRANCH.unwrap_or("");

0 commit comments

Comments
 (0)