Skip to content

Commit

Permalink
Update mirrord/layer/src/macros.rs
Browse files Browse the repository at this point in the history
Co-authored-by: meowjesty <[email protected]>
  • Loading branch information
aviramha and meowjesty authored Feb 22, 2024
1 parent b3561e2 commit 93021df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirrord/layer/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ macro_rules! replace {
///

Check warning on line 86 in mirrord/layer/src/macros.rs

View workflow job for this annotation

GitHub Actions / lint

Diff in /home/runner/work/mirrord/mirrord/mirrord/layer/src/macros.rs

Check warning on line 86 in mirrord/layer/src/macros.rs

View workflow job for this annotation

GitHub Actions / lint

Diff in /home/runner/work/mirrord/mirrord/mirrord/layer/src/macros.rs
/// ```rust, no_run
/// unsafe {
/// replace!(&mut hook_manager, "close", close_detour, FnClose, FN_CLOSE);
/// replace_with_fallback!(hook_manager, "close", close_detour, FnClose, FN_CLOSE, libc::close);
/// }
/// ```
#[macro_export]
Expand Down

0 comments on commit 93021df

Please sign in to comment.