fix some warnings

This commit is contained in:
Evan Almloff committed 2022-12-22 11:37:22 -06:00
1 parent 9261e4d5e9
commit 6f92e05d64
3 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
use proc_macro2::TokenStream;
use syn::{File, Macro, __private::ToTokens};
use syn::{File, Macro};
pub enum DiffResult {
CodeChanged,
+2 -2
View File
@@ -1,4 +1,4 @@
pub const DIOXUS_CLI_VERSION: &'static str = "0.1.5";
pub const DIOXUS_CLI_VERSION: &str = "0.1.5";
pub mod builder;
pub mod server;
@@ -22,4 +22,4 @@ pub mod logging;
pub use logging::*;
pub mod hot_reload;
pub mod plugin;
pub mod plugin;
-2
View File
@@ -9,9 +9,7 @@ use axum::{
use cargo_metadata::diagnostic::Diagnostic;
use colored::Colorize;
use dioxus_core::Template;
use dioxus_rsx::CallBody;
use notify::{RecommendedWatcher, Watcher};
use syn::spanned::Spanned;
use std::{net::UdpSocket, path::PathBuf, process::Command, sync::Arc};
use tower::ServiceBuilder;