Skip to content

Commit

Permalink
Minor libclamav_rust doc and cbindgen typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
micahsnyder committed Nov 29, 2023
1 parent a8cc82d commit e3a0d9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions libclamav_rust/cbindgen.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ include = [
"fuzzy_hash::fuzzy_hash_calculate_image",
"fuzzy_hash::fuzzy_hash_load_subsignature",
"fuzzy_hash::fuzzy_hash_check",
"frs_error::FFIError",
"frs_error::ffierror_fmt",
"frs_error::ffierror_free",
"ffi_util::FFIError",
"ffi_util::ffierror_fmt",
"ffi_util::ffierror_free",
"logging::clrs_eprint",
"evidence::evidence_new",
"evidence::evidence_free",
Expand Down
4 changes: 2 additions & 2 deletions libclamav_rust/src/ffi_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ use std::{
///
/// Example (on the Rust side)
/// ```
/// use frs_error::{frs_result, FFIError};
/// use ffi_util::{ffi_result, FFIError};
/// use num_traits::CheckedDiv;
///
/// pub fn checked_div<T>(numerator: T, denominator: T) -> Result<T, MyError>
Expand Down Expand Up @@ -150,7 +150,7 @@ macro_rules! rrf_call {
/// // ...
///
/// // Finally return
/// frs_result!(result_in = div_result, out = out, err = err)
/// ffi_result!(result_in = div_result, out = out, err = err)
/// }
/// ```
///
Expand Down

0 comments on commit e3a0d9a

Please sign in to comment.