mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-26 15:39:59 -07:00
Fix clippy lints and warnings in Rust 1.89
This will also require Rust 1.89 due to if-let.
This commit is contained in:
@@ -98,11 +98,11 @@ impl ImsiRequestedAnalyzer {
|
||||
}
|
||||
|
||||
impl Analyzer for ImsiRequestedAnalyzer {
|
||||
fn get_name(&self) -> Cow<str> {
|
||||
fn get_name(&self) -> Cow<'_, str> {
|
||||
Cow::from("Identity (IMSI or IMEI) requested in suspicious manner")
|
||||
}
|
||||
|
||||
fn get_description(&self) -> Cow<str> {
|
||||
fn get_description(&self) -> Cow<'_, str> {
|
||||
Cow::from(
|
||||
"Tests whether the ME sends an Identity Request NAS message without either an associated attach request or auth accept message",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user