mirror of
https://github.com/edu4rdshl/unimap.git
synced 2026-07-17 23:24:49 +00:00
Remove clippy warn.
This commit is contained in:
parent
4b35130fc3
commit
bb8badecf8
1 changed files with 1 additions and 2 deletions
|
|
@ -1,5 +1,3 @@
|
||||||
use lazy_static;
|
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref SPECIAL_CHARS: Vec<char> = vec![
|
static ref SPECIAL_CHARS: Vec<char> = vec![
|
||||||
'[', ']', '{', '}', '(', ')', '*', '|', ':', '<', '>', '/', '\\', '%', '&', '¿', '?', '¡',
|
'[', ']', '{', '}', '(', ')', '*', '|', ':', '<', '>', '/', '\\', '%', '&', '¿', '?', '¡',
|
||||||
|
|
@ -22,6 +20,7 @@ pub fn null_ip_checker(ip: &str) -> String {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::ptr_arg)]
|
||||||
pub fn return_ports_string(ports: &Vec<String>) -> String {
|
pub fn return_ports_string(ports: &Vec<String>) -> String {
|
||||||
if ports.is_empty() {
|
if ports.is_empty() {
|
||||||
String::from("NULL")
|
String::from("NULL")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue