Skip to content

Commit 1d911c0

Browse files
authored
fix: remove #![deny(warnings)] from the source code (#124)
* fix(lint): apply `#![deny(warnings)]` only on CI Specifying it in `src/lib.rs` is anti-pattern. * chore: add a changelog
1 parent cb0ee5a commit 1d911c0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
env:
66
CARGO_TERM_COLOR: always
7-
7+
RUSTFLAGS: -D warnings
88

99
jobs:
1010
build:

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
## Unreleased - ReleaseDate
4+
### Removed
5+
- `#![deny(warnings)]` is removed from the source code.
46

57
## 0.8.1 - 2021-05-12
68
### Fixed

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
3939
#![no_std]
4040
#![deny(
41-
warnings,
4241
rustdoc::all,
4342
missing_docs,
4443
elided_lifetimes_in_paths,

0 commit comments

Comments
 (0)