From edcc1f47981251985d9f47d706a710cbb118af7c Mon Sep 17 00:00:00 2001 From: Olivier FAURE Date: Tue, 24 Sep 2024 15:00:58 +0200 Subject: [PATCH 1/2] Add comment about make_trace_span --- masonry/src/widget/widget.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/masonry/src/widget/widget.rs b/masonry/src/widget/widget.rs index 366b93259..a1343ce16 100644 --- a/masonry/src/widget/widget.rs +++ b/masonry/src/widget/widget.rs @@ -147,6 +147,8 @@ pub trait Widget: AsAny { false } + // TODO - Write a generic default implementation once + // `const std::any::type_name` is stable. /// Return a span for tracing. /// /// As methods recurse through the widget tree, trace spans are added for each child From a1dd6ef9b225bf6dce5b675b0534145eac28da26 Mon Sep 17 00:00:00 2001 From: Olivier FAURE Date: Tue, 24 Sep 2024 17:27:02 +0000 Subject: [PATCH 2/2] Update masonry/src/widget/widget.rs --- masonry/src/widget/widget.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/masonry/src/widget/widget.rs b/masonry/src/widget/widget.rs index a1343ce16..0e8317461 100644 --- a/masonry/src/widget/widget.rs +++ b/masonry/src/widget/widget.rs @@ -149,6 +149,7 @@ pub trait Widget: AsAny { // 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