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
+2 -4

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
use proc_macro2::TokenStream; use proc_macro2::TokenStream;
use syn::{File, Macro, __private::ToTokens}; use syn::{File, Macro};
pub enum DiffResult { pub enum DiffResult {
CodeChanged, CodeChanged,
+1 -1
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 builder;
pub mod server; pub mod server;
-2
View File
@@ -9,9 +9,7 @@ use axum::{
use cargo_metadata::diagnostic::Diagnostic; use cargo_metadata::diagnostic::Diagnostic;
use colored::Colorize; use colored::Colorize;
use dioxus_core::Template; use dioxus_core::Template;
use dioxus_rsx::CallBody;
use notify::{RecommendedWatcher, Watcher}; use notify::{RecommendedWatcher, Watcher};
use syn::spanned::Spanned;
use std::{net::UdpSocket, path::PathBuf, process::Command, sync::Arc}; use std::{net::UdpSocket, path::PathBuf, process::Command, sync::Arc};
use tower::ServiceBuilder; use tower::ServiceBuilder;