diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,3 +1,7 @@ +#![deny(warnings, missing_docs, missing_debug_implementations, rust_2018_idioms)] +#![doc(html_root_url = "https://docs.rs/bytes/0.5.0")] +#![no_std] + //! Provides abstractions for working with bytes. //! //! The `bytes` crate provides an efficient byte buffer structure @@ -68,10 +72,6 @@ //! perform a syscall, which has the potential of failing. Operations on `Buf` //! and `BufMut` are infallible. -#![deny(warnings, missing_docs, missing_debug_implementations, rust_2018_idioms)] -#![doc(html_root_url = "https://docs.rs/bytes/0.5.0")] - -#![no_std] extern crate alloc; |