style: cargo fmt

This commit is contained in:
Radical 2025-04-29 00:43:43 +02:00
parent 96250864af
commit bebad3be9b
5 changed files with 14 additions and 15 deletions

View file

@ -1,4 +1,4 @@
use actix_web::{get, HttpResponse, Responder};
use actix_web::{HttpResponse, Responder, get};
use serde::Serialize;
#[derive(Serialize)]
@ -14,9 +14,7 @@ struct UnstableFeatures;
pub async fn res() -> impl Responder {
let response = Response {
unstable_features: UnstableFeatures,
versions: vec![
String::from("1"),
]
versions: vec![String::from("1")],
};
HttpResponse::Ok().json(response)