mirror of
https://github.com/fafhrd91/actix-net
synced 2025-06-28 11:00:36 +02:00
Suppress/fix clippy warnings
This commit is contained in:
@ -204,7 +204,7 @@ mod test {
|
||||
|
||||
#[test]
|
||||
fn test_from_static_str() {
|
||||
const _S: ByteString = ByteString::from_static("hello");
|
||||
static _S: ByteString = ByteString::from_static("hello");
|
||||
let _ = ByteString::from_static("str");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user