Skip to content

Commit 0a5da58

Browse files
authored
Merge pull request #1880 from yaroslav957/main
export all text::{input, output} types
2 parents 997b03a + 08d903f commit 0a5da58

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

uefi/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- Added `proto::media::block::BlockIO2`.
1010

1111
## Changed
12+
- export all `text::{input, output}::*` types
1213
- Changed ordering of `proto::pci::PciIoAddress` to (bus -> dev -> fun -> reg -> ext_reg).
1314
- Return request with status as error data object for `proto::ata::pass_thru::AtaDevice`.
1415
- **Breaking:** `SimpleNetwork::wait_for_packet`

uefi/src/proto/console/text/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! Text I/O.
44
55
mod input;
6-
pub use input::{Input, Key, ScanCode};
7-
86
mod output;
9-
pub use output::{Color, Output, OutputMode};
7+
8+
pub use input::*;
9+
pub use output::*;

uefi/src/proto/console/text/output.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ impl Output {
7272
}
7373

7474
/// Returns an iterator of all supported text modes.
75-
// TODO: Bring back impl Trait once the story around bounds improves
7675
pub const fn modes(&mut self) -> OutputModeIter<'_> {
7776
let max = self.data().max_mode as usize;
7877
OutputModeIter {

0 commit comments

Comments
 (0)