Skip to content

Commit

Permalink
removed colon from safety section :/
Browse files Browse the repository at this point in the history
  • Loading branch information
nstilt1 committed Jan 23, 2024
1 parent 4524200 commit 2548228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zeroize/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ unsafe fn volatile_set<T: Copy + Sized>(dst: *mut T, src: T, count: usize) {
/// dynamically sized values or trait objects. Do not use this function on a type that already
/// implements `ZeroizeOnDrop`.
///
/// # Safety:
/// # Safety
/// - The type must not contain references to outside data or dynamically sized data
/// - This function can invalidate the type if it is used after this function is called on it. It is
/// advisable to call this method in `impl Drop`.
Expand Down

0 comments on commit 2548228

Please sign in to comment.