Skip to content

Commit

Permalink
chore: Add forbid unsafe, just to declare intent
Browse files Browse the repository at this point in the history
  • Loading branch information
nakedible committed Oct 31, 2023
1 parent 7df2164 commit 69c9f42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
//! `gmtime_r.c`](https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=newlib/libc/time/gmtime_r.c;hb=HEAD):
//! The newlib implementation has evolved significantly over time and has now
//! been updated based on the work by Howard Hinnant.
#![forbid(unsafe_code)]
#![cfg_attr(not(feature = "std"), no_std)]

#[cfg(feature = "std")]
Expand Down

0 comments on commit 69c9f42

Please sign in to comment.