Skip to content

Commit

Permalink
layer: Fix example usage doctest compiler errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dflemstr committed Oct 29, 2024
1 parent 85891f2 commit 53ac108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/layer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
//!
//! let out_file = "native-layer-example.pftrace";
//! let trace_config = todo!();
//! let out_file = fs::File::create(out_file)?;
//! let layer = NativeLayer::from_config(trace_config, out_file).build()?;
//! let out_file = fs::File::create(out_file).unwrap();
//! let layer = NativeLayer::from_config(trace_config, out_file).build().unwrap();
//!
//! let subscriber = tracing_subscriber::registry().with(layer);
//!
Expand Down

0 comments on commit 53ac108

Please sign in to comment.