From 04c8b864cdaff4888ddf4a8b49b05f6b1b8673ff Mon Sep 17 00:00:00 2001 From: Pratim Date: Mon, 26 Feb 2024 16:17:35 +0530 Subject: [PATCH] Fix Axum example warnings (#3585) --- lib/examples/axum/src/lib.rs | 4 ++-- lib/examples/axum/src/main.rs | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/examples/axum/src/lib.rs b/lib/examples/axum/src/lib.rs index a84e0c13..60cdedf8 100644 --- a/lib/examples/axum/src/lib.rs +++ b/lib/examples/axum/src/lib.rs @@ -1,5 +1,5 @@ -pub mod error; -pub mod person; +mod error; +mod person; use axum::{ routing::{delete, get, post, put}, diff --git a/lib/examples/axum/src/main.rs b/lib/examples/axum/src/main.rs index 29e3cc04..f398e0e0 100644 --- a/lib/examples/axum/src/main.rs +++ b/lib/examples/axum/src/main.rs @@ -1,5 +1,3 @@ -mod error; -mod person; use axum_example::create_router; use std::env; use surrealdb::engine::any;