chore: fix unused imports and warnings

This commit is contained in:
Andrea Toska 2025-04-26 21:03:07 +02:00
commit 37a2329c6c
No known key found for this signature in database
GPG key ID: 5B3C83807CCBE9A2
20 changed files with 73 additions and 112 deletions

View file

@ -1,11 +1,9 @@
use std::{env, fs, io};
use std::{env, io};
use rocket::fs::NamedFile;
use rocket::get;
use rocket::response::content::RawXml;
use tokio::fs::try_exists;
use crate::dsresponse::Ds;
use crate::nnid::devices::Device;
use crate::xml::Xml;
#[get("/v1/api/content/agreements/Nintendo-Network-EULA/<lang>/@latest")]
pub async fn get_agreement(lang: &str) -> io::Result<Ds<RawXml<NamedFile>>>{