Mercurial > crates > nonstick
diff testharness/src/lib.rs @ 123:98a624cacd82
Get rid of all the warnings, and arrange attributes.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Mon, 30 Jun 2025 04:26:44 -0400 |
parents | a2676475e86b |
children |
line wrap: on
line diff
--- a/testharness/src/lib.rs Mon Jun 30 04:22:39 2025 -0400 +++ b/testharness/src/lib.rs Mon Jun 30 04:26:44 2025 -0400 @@ -7,11 +7,11 @@ struct TestHarness; impl<M: PamHandleModule> PamModule<M> for TestHarness { - fn authenticate(handle: &mut M, args: Vec<&CStr>, flags: Flags) -> nonstick::Result<()> { + fn authenticate(_handle: &mut M, _args: Vec<&CStr>, _flags: Flags) -> nonstick::Result<()> { Ok(()) } - fn account_management(handle: &mut M, args: Vec<&CStr>, flags: Flags) -> nonstick::Result<()> { + fn account_management(_handle: &mut M, _args: Vec<&CStr>, _flags: Flags) -> nonstick::Result<()> { Ok(()) } }