mirror of
https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials.git
synced 2024-11-15 18:14:02 +00:00
20 lines
669 B
Rust
20 lines
669 B
Rust
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
//
|
|
// Copyright (c) 2018-2020 Andre Richter <andre.o.richter@gmail.com>
|
|
|
|
//! System console.
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
// Public Definitions
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
/// Console interfaces.
|
|
pub mod interface {
|
|
/// Console write functions.
|
|
///
|
|
/// `core::fmt::Write` is exactly what we need for now. Re-export it here because
|
|
/// implementing `console::Write` gives a better hint to the reader about the
|
|
/// intention.
|
|
pub use core::fmt::Write;
|
|
}
|