Skip to content

Commit

Permalink
Initialize tracing_subscriber::fmt in doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
ebkalderon committed Jan 15, 2023
1 parent e1c56df commit e96fd9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
//!
//! #[tokio::main]
//! async fn main() {
//! # tracing_subscriber::fmt().init();
//! #
//! # #[cfg(feature = "runtime-agnostic")]
//! # use tokio_util::compat::{TokioAsyncReadCompatExt, TokioAsyncWriteCompatExt};
//! # use std::io::Cursor;
Expand Down
1 change: 0 additions & 1 deletion tower-lsp-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ fn gen_server_router(trait_name: &syn::Ident, methods: &[MethodCall]) -> proc_ma
use std::sync::Arc;
use std::future::{Future, Ready};

use tracing::info;
use lsp_types::*;
use lsp_types::notification::*;
use lsp_types::request::*;
Expand Down

0 comments on commit e96fd9a

Please sign in to comment.