mirror of
https://github.com/fafhrd91/actix-net
synced 2025-06-26 17:27:42 +02:00
update all crates msrv to 1.57 (#464)
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
# Changes
|
||||
|
||||
## Unreleased - 2022-xx-xx
|
||||
- Minimum supported Rust version (MSRV) is now 1.57.
|
||||
|
||||
|
||||
## 1.1.0 - 2022-06-11
|
||||
|
@ -72,7 +72,7 @@ impl AsRef<[u8]> for ByteString {
|
||||
|
||||
impl AsRef<str> for ByteString {
|
||||
fn as_ref(&self) -> &str {
|
||||
&*self
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
@ -96,7 +96,7 @@ impl ops::Deref for ByteString {
|
||||
|
||||
impl borrow::Borrow<str> for ByteString {
|
||||
fn borrow(&self) -> &str {
|
||||
&*self
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user