1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-13 04:47:36 +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
src/exercises/bare-metal/rtc/src

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

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