chore: fix unused imports and warnings
This commit is contained in:
parent
f0eb152b7d
commit
37a2329c6c
20 changed files with 73 additions and 112 deletions
|
|
@ -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>>>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue