Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias committed Jun 8, 2024
1 parent 27e8820 commit 3d8cc4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ fn zeroize<'py>(_py: Python, m: &Bound<'py, PyModule>) -> PyResult<()> {
Ok(())
}


#[pyfunction]
fn zeroize1<'py>(arr: &Bound<'py, PyAny>) -> PyResult<()> {
as_array_mut(arr)?.zeroize();
Expand Down Expand Up @@ -110,8 +109,8 @@ unsafe fn _munlock(ptr: *mut u8, len: usize) -> bool {

#[cfg(test)]
mod test {
use zeroize_rs::Zeroize;
use super::{_mlock, _munlock};
use zeroize_rs::Zeroize;

#[test]
fn test_zeroize() {
Expand Down

0 comments on commit 3d8cc4d

Please sign in to comment.