summaryrefslogtreecommitdiff
path: root/rust/src/logger.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-10-19 18:42:03 -0400
committerMason Reed <mason@vector35.com>2025-10-22 00:36:25 -0400
commit868689aef277ce560745fecc3bb8653665162fee (patch)
tree156dbdc07831769b5961a591686c24000af20aaf /rust/src/logger.rs
parentea914efbe24c80b6e1523471a7369d79ac07deb0 (diff)
[Rust] Misc clippy lints
Diffstat (limited to 'rust/src/logger.rs')
-rw-r--r--rust/src/logger.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/logger.rs b/rust/src/logger.rs
index a4046212..2a6db188 100644
--- a/rust/src/logger.rs
+++ b/rust/src/logger.rs
@@ -96,7 +96,7 @@ impl Ref<Logger> {
/// you should use [`Ref<Logger>::init`] to initialize the `log` compatible logger.
pub fn send_log(&self, level: Level, msg: &str) {
use binaryninjacore_sys::BNLog;
- if let Ok(msg) = CString::new(format!("{}", msg)) {
+ if let Ok(msg) = CString::new(msg) {
let logger_name = self.name().to_cstr();
unsafe {
BNLog(