1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 09:50:36 +02:00

add trybuild compile tests

This commit is contained in:
Rob Ede
2020-04-26 20:11:16 +01:00
parent 7d0cfe1b4d
commit 4c5568ed70
9 changed files with 52 additions and 4 deletions

View File

@ -1,10 +1,11 @@
//! A utl-8 encoded read-only string with Bytes as a storage.
//! A UTF-8 encoded read-only string using Bytes as storage.
use std::convert::TryFrom;
use std::{borrow, fmt, hash, ops, str};
use bytes::Bytes;
/// A utf-8 encoded string with [`Bytes`] as a storage.
/// A UTF-8 encoded string with [`Bytes`] as a storage.
///
/// [`Bytes`]: https://docs.rs/bytes/0.5.3/bytes/struct.Bytes.html
#[derive(Clone, Eq, Ord, PartialOrd, Default)]