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
warning: unnecessary parentheses around function argument
|
13 | / named!(pub parse_string <String>, do_parse!(
14 | | value: map_res!(take_until!("\x00"), |value: &[u8]| String::from_utf8(value.to_vec())) >>
15 | | tag!(b"\x00") >>
16 | | (value)
17 | | ));
| |___^ help: remove these parentheses
|
= note: #[warn(unused_parens)] on by default
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
Recent nightly versions give warnings when using
named!()
anddo_parse!()
:rustc --version --verbose
:The text was updated successfully, but these errors were encountered: