Skip to content

Commit 022fb93

Browse files
committed
com: Remove todo-s
1 parent 2e67472 commit 022fb93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ impl<S, W, FT> Layer<S> for HierarchicalLayer<W, FT>
296296
where
297297
S: Subscriber + for<'span> LookupSpan<'span>,
298298
W: for<'writer> MakeWriter<'writer> + 'static,
299-
FT: FormatTime + 'static, // TODO(TmLev): Maybe it doesn't have to be static?
299+
FT: FormatTime + 'static,
300300
{
301301
fn on_new_span(&self, attrs: &Attributes, id: &Id, ctx: Context<S>) {
302302
let span = ctx.span(id).expect("in new_span but span does not exist");
@@ -327,7 +327,6 @@ where
327327

328328
// Time.
329329

330-
// TODO(TmLev): Error handling?
331330
self.timer
332331
.format_time(&mut event_buf)
333332
.expect("Unable to write time to buffer");

0 commit comments

Comments
 (0)