chore: clippy

This commit is contained in:
2024-11-29 16:44:17 +00:00
parent 2370204546
commit 91cf173058
8 changed files with 32 additions and 22 deletions

View File

@ -1,7 +1,6 @@
use std::net::IpAddr;
use lnvps_db::VmIpAssignment;
use rocket::async_trait;
use crate::router::Router;
use rocket::async_trait;
use std::net::IpAddr;
pub struct MikrotikRouter {
url: String,
@ -19,7 +18,12 @@ impl MikrotikRouter {
#[async_trait]
impl Router for MikrotikRouter {
async fn add_arp_entry(&self, ip: IpAddr, mac: &[u8; 6], comment: Option<&str>) -> anyhow::Result<()> {
async fn add_arp_entry(
&self,
ip: IpAddr,
mac: &[u8; 6],
comment: Option<&str>,
) -> anyhow::Result<()> {
todo!()
}
}