1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-05-23 19:00:13 +02:00

Silence warnings about unused methods in provided drivers.

This commit is contained in:
Andrew Walbran 2023-04-12 16:35:11 +01:00
parent 206f7d4246
commit 2f442acda7
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![allow(unused)]
use bitflags::bitflags;
use core::{
arch::asm,

View File

@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![allow(unused)]
use core::fmt::{self, Write};
use core::ptr::{addr_of, addr_of_mut};