From 03ac5ba3303126e3ab7b9c7cc099f3e2cc8dd3ea Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Sun, 9 Jun 2019 18:26:28 +0200 Subject: [PATCH] span docs Signed-off-by: Yoshua Wuyts --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 1ea10fe..38af307 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -110,6 +110,9 @@ pub use logger::Logger; /// A new span created by [`span!`]. /// +/// An `trace!` is emitted when this struct is constructed. And another `trace!` is emitted when +/// this struct is dropped. +/// /// [`span!`]: macro.span.html #[must_use] #[derive(Debug)]