Skip to content

Commit cb06562

Browse files
committed
Stop checking readme examples in CI
They were all ignored anyway, and adding `rust,ignore` breaks syntax higlighting on crates.io.
1 parent af1b450 commit cb06562

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You can also export images directly from The GIMP by saving as `.bmp` and choosi
2828
Load a BMP image of the Rust logo and display it in the center of the display. From
2929
[`examples/bmp.rs`](examples/bmp.rs):
3030

31-
```rust,ignore
31+
```rust
3232
#![no_std]
3333
#![no_main]
3434

@@ -111,7 +111,7 @@ The full changelog can be found [here](CHANGELOG.md). A tl;dr version is shown b
111111

112112
Version 0.1.x
113113

114-
```rust,ignore
114+
```rust
115115
use ssd1331::{prelude::*, Builder};
116116

117117
let mut disp: GraphicsMode<_> = Builder::new().connect_spi(spi, dc).into();
@@ -126,7 +126,7 @@ disp.get_rotation();
126126

127127
Version 0.2.x
128128

129-
```rust,ignore
129+
```rust
130130
use ssd1331::{Ssd1331, DisplayRotation};
131131

132132
let mut disp = Ssd1331::new(spi, dc, DisplayRotation::Rotate0);

src/check_readme.rs

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ extern crate embedded_hal as hal;
9696
const DISPLAY_WIDTH: u8 = 96;
9797
const DISPLAY_HEIGHT: u8 = 64;
9898

99-
mod check_readme;
10099
mod command;
101100
mod display;
102101
mod displayrotation;

0 commit comments

Comments
 (0)