rust: allow vec_init_then_push in tests

To supress the clippy lint in tests.
pull/12630/head
Jason Ish 8 months ago
parent 2b6e5f822c
commit c7ff76cac5

@ -1094,6 +1094,7 @@ pub fn pgsql_parse_response(i: &[u8]) -> IResult<&[u8], PgsqlBEMessage> {
}
#[cfg(test)]
#[allow(clippy::vec_init_then_push)]
mod tests {
use super::*;

@ -1103,6 +1103,7 @@ mod tests_negotiate_49350 {
}
#[cfg(test)]
#[allow(clippy::vec_init_then_push)]
mod tests_core_49350 {
use crate::rdp::parser::*;

Loading…
Cancel
Save