Skip to content

Commit 3ea6b64

Browse files
bors[bot]eldruin
andauthored
Merge #214
214: [0.2.x]: Fix warning, remove #[deny(warnings)] but keep check on CI r=ryankurte a=eldruin This fixes #213. Additionally I removed #[deny(warnings)] but added a check for it on CI. I think we should cherry pick #138 to the 0.2.x branch as well and release a 0.2.4 version, since 1.0 will still take a while. I can do that in a separate PR. Co-authored-by: Diego Barrios Romero <[email protected]>
2 parents 9e6ab5a + 936fd16 commit 3ea6b64

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
language: rust
22

3+
env:
4+
global:
5+
RUSTFLAGS='-D warnings'
6+
37
matrix:
48
include:
59
- env: TARGET=x86_64-unknown-linux-gnu

src/fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! TODO write example of usage
44
use core::fmt::{Result, Write};
55

6-
impl<Word, Error> Write for ::serial::Write<Word, Error=Error>
6+
impl<Word, Error> Write for dyn (::serial::Write<Word, Error=Error>)
77
where
88
Word: From<u8>,
99
{

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,6 @@
683683
//! ```
684684
685685
#![deny(missing_docs)]
686-
#![deny(warnings)]
687686
#![no_std]
688687

689688
#[macro_use]

0 commit comments

Comments
 (0)