From d4f3fc8523b74e936aa9d4e7d372e5a9ebd86cf4 Mon Sep 17 00:00:00 2001 From: Olivier FAURE Date: Tue, 24 Sep 2024 19:32:18 +0200 Subject: [PATCH] Add comment about make_trace_span (#609) --- masonry/src/widget/widget.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/masonry/src/widget/widget.rs b/masonry/src/widget/widget.rs index 366b93259..0e8317461 100644 --- a/masonry/src/widget/widget.rs +++ b/masonry/src/widget/widget.rs @@ -147,6 +147,9 @@ pub trait Widget: AsAny { false } + // TODO - Write a generic default implementation once + // `const std::any::type_name` is stable. + // See https://github.com/rust-lang/rust/issues/63084 /// Return a span for tracing. /// /// As methods recurse through the widget tree, trace spans are added for each child