mirror of
https://gitee.com/openharmony/third_party_qrcodegen
synced 2024-11-23 07:10:22 +00:00
Marked Rust code to forbid unsafe.
This commit is contained in:
parent
33442ea74a
commit
17e1a8a6d4
@ -90,6 +90,7 @@
|
||||
|
||||
|
||||
#![no_std]
|
||||
#![forbid(unsafe_code)]
|
||||
use core::convert::TryFrom;
|
||||
|
||||
|
||||
|
@ -85,6 +85,7 @@
|
||||
//! ```
|
||||
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
use std::convert::TryFrom;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user