From 9580e41ab8e12e48ee1810ec85c9415a87adae88 Mon Sep 17 00:00:00 2001 From: Stuart Harris Date: Fri, 20 Sep 2024 16:21:10 +0100 Subject: [PATCH] unneeded type def --- wasm-components/rust/http-controller/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/wasm-components/rust/http-controller/src/lib.rs b/wasm-components/rust/http-controller/src/lib.rs index c7820ca..2ee1f30 100644 --- a/wasm-components/rust/http-controller/src/lib.rs +++ b/wasm-components/rust/http-controller/src/lib.rs @@ -20,7 +20,6 @@ wit_bindgen::generate!({ use routefinder::Router; use waki::{handler, ErrorCode, Method, Request, Response}; - use wasi::logging::logging::{log, Level}; use common::{ @@ -37,8 +36,6 @@ use platform_poc::{ const MODULE: &str = "http-controller"; -pub type StatusCode = u16; - #[handler] fn handler(request: Request) -> Result { log(