summaryrefslogtreecommitdiff
path: root/rust/src/secrets_provider.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-05-04 20:43:32 -0400
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-05-12 17:45:24 -0400
commitf32f083c81a5034530ac33ad2bc460dd234186a5 (patch)
tree02e5799b595322b3a6967977ac69257eb023e882 /rust/src/secrets_provider.rs
parente12dac56c123bcf39708cb381497753250eb1887 (diff)
[Rust] More cleanup regarding `BnString`
- Removed `to_string` shortcut from `BnString`. - Misc formatting
Diffstat (limited to 'rust/src/secrets_provider.rs')
-rw-r--r--rust/src/secrets_provider.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/src/secrets_provider.rs b/rust/src/secrets_provider.rs
index 7a807300..fcb20644 100644
--- a/rust/src/secrets_provider.rs
+++ b/rust/src/secrets_provider.rs
@@ -36,8 +36,7 @@ impl CoreSecretsProvider {
storeData: Some(cb_store_data::<C>),
deleteData: Some(cb_delete_data::<C>),
};
- let result =
- unsafe { BNRegisterSecretsProvider(name.as_ptr(), &mut callbacks) };
+ let result = unsafe { BNRegisterSecretsProvider(name.as_ptr(), &mut callbacks) };
unsafe { Self::from_raw(NonNull::new(result).unwrap()) }
}