Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: James Waples <[email protected]>
  • Loading branch information
bugadani and jamwaffles authored Jun 23, 2020
1 parent de23b05 commit aa797e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
//! .connect(interface);
//! ```
//!
//! When using a display other than the 128 x 64, you need to specify the display size in the
//! second type parameter:
//! The builder defaults to a display size of 128 x 64px. To use a display with a different size,
//! call the [`size`](#method.size) method. Supported sizes can be found in the
//! [`displaysize`](../displaysize/index.html) module or in the [prelude](../prelude/index.html).
//!
//! ```rust
//! # use ssd1306::test_helpers::{PinStub, I2cStub};
Expand Down
6 changes: 4 additions & 2 deletions src/displaysize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@

use super::command::Command;
use display_interface::{DisplayError, WriteOnlyDataCommand};
use generic_array::ArrayLength;
use typenum::{U1024, U192, U360, U384, U512};
use generic_array::{
typenum::{U1024, U192, U360, U384, U512},
ArrayLength,
};

/// Display information
///
Expand Down

0 comments on commit aa797e0

Please sign in to comment.