Skip to content

Commit 7a22d9d

Browse files
committed
enable some warnings
1 parent 1da746f commit 7a22d9d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

valuable-serde/src/lib.rs

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
#![warn(
2+
missing_debug_implementations,
3+
missing_docs,
4+
rust_2018_idioms,
5+
unreachable_pub
6+
)]
7+
#![cfg_attr(not(feature = "std"), no_std)]
8+
19
//! [`serde::Serialize`] implementation for [`Valuable`] types.
210
//!
311
//! # Examples
@@ -22,9 +30,6 @@
2230
//! );
2331
//! ```
2432
25-
#![cfg_attr(not(feature = "std"), no_std)]
26-
#![warn(missing_docs, rust_2018_idioms)]
27-
2833
use core::{fmt, mem};
2934

3035
use serde::ser::{

0 commit comments

Comments
 (0)