Skip to content

Commit 78d2944

Browse files
docs: fix extra closing brace in layer docs (#3350)
1 parent a9e2778 commit 78d2944

File tree

1 file changed

+3
-3
lines changed
  • tracing-subscriber/src/layer

1 file changed

+3
-3
lines changed

tracing-subscriber/src/layer/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
//! # fn new() -> Self { Self {} }
6868
//! # }
6969
//! # impl MySubscriber {
70-
//! # fn new() -> Self { Self { }}
70+
//! # fn new() -> Self { Self {} }
7171
//! # }
7272
//!
7373
//! let subscriber = MySubscriber::new()
@@ -107,7 +107,7 @@
107107
//! # fn enabled(&self, _: &Metadata) -> bool { false }
108108
//! # fn enter(&self, _: &Id) {}
109109
//! # fn exit(&self, _: &Id) {}
110-
//! }
110+
//! # }
111111
//! # impl MyLayer {
112112
//! # fn new() -> Self { Self {} }
113113
//! # }
@@ -118,7 +118,7 @@
118118
//! # fn new() -> Self { Self {} }
119119
//! # }
120120
//! # impl MySubscriber {
121-
//! # fn new() -> Self { Self { }}
121+
//! # fn new() -> Self { Self {} }
122122
//! # }
123123
//!
124124
//! let subscriber = MySubscriber::new()

0 commit comments

Comments
 (0)