File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ impl<'a> Event<'a> {
118
118
/// Returns the new event's explicitly-specified parent, if there is one.
119
119
///
120
120
/// Otherwise (if the new event is a root or is a child of the current span),
121
- /// returns false .
121
+ /// returns `None` .
122
122
pub fn parent ( & self ) -> Option < & Id > {
123
123
match self . parent {
124
124
Parent :: Explicit ( ref p) => Some ( p) ,
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ impl<'a> Attributes<'a> {
168
168
/// Returns the new span's explicitly-specified parent, if there is one.
169
169
///
170
170
/// Otherwise (if the new span is a root or is a child of the current span),
171
- /// returns false .
171
+ /// returns `None` .
172
172
pub fn parent ( & self ) -> Option < & Id > {
173
173
match self . parent {
174
174
Parent :: Explicit ( ref p) => Some ( p) ,
You can’t perform that action at this time.
0 commit comments