You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a case where string_lit_as_bytes is not triggered as expected:
let bs = "a byte string\t\n".as_bytes();
If you remove \t\n, then it correctly suggests that it can use byte string literal instead, however, with either \t or \n presents, it doesn't say anything.
I'm testing using Clippy from playground which has version 0.0.212 (2019-10-28 c8e3cfb).
The text was updated successfully, but these errors were encountered:
I encountered a case where
string_lit_as_bytes
is not triggered as expected:If you remove
\t\n
, then it correctly suggests that it can use byte string literal instead, however, with either\t
or\n
presents, it doesn't say anything.I'm testing using Clippy from playground which has version
0.0.212 (2019-10-28 c8e3cfb)
.The text was updated successfully, but these errors were encountered: