Marked Rust code to forbid unsafe.

This commit is contained in:
Project Nayuki 2022-01-07 17:40:03 +00:00
parent 33442ea74a
commit 17e1a8a6d4
2 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,7 @@
#![no_std]
#![forbid(unsafe_code)]
use core::convert::TryFrom;

View File

@ -85,6 +85,7 @@
//! ```
#![forbid(unsafe_code)]
use std::convert::TryFrom;