Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
  • Loading branch information
rwestphal committed Oct 13, 2024
1 parent 2e372b2 commit d6a8299
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yang3"
version = "0.9.0"
version = "0.9.1"
authors = ["Renato Westphal <renato@opensourcerouting.org>"]
description = "libyang3 bindings for Rust"
keywords = ["yang", "libyang"]
Expand Down
2 changes: 1 addition & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ impl Context {
/// when the models are not locally available (such as when downloading
/// modules from a NETCONF server), it should not be required in other
/// cases.
pub fn set_module_import_callback(
pub unsafe fn set_module_import_callback(
&mut self,
module_import_cb: ModuleImportCb,
user_data: *mut c_void,
Expand Down

0 comments on commit d6a8299

Please sign in to comment.