diff options
| author | Sébastien d'Herbais de Thun <sebastien.d.herbais@gmail.com> | 2023-04-23 14:33:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-23 14:33:56 +0200 |
| commit | 561ff979d574f496415c0499345d41da2e1f6e1e (patch) | |
| tree | 037479ac000bd87a1cb2149e5389b28f08d24051 /library/src/layout/container.rs | |
| parent | 2fbb14f712708188649181525813b3ac5a02e0fb (diff) | |
Add instrumentation (Part 1) (#761)
Diffstat (limited to 'library/src/layout/container.rs')
| -rw-r--r-- | library/src/layout/container.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/src/layout/container.rs b/library/src/layout/container.rs index 9bf1bf87..ae6a094c 100644 --- a/library/src/layout/container.rs +++ b/library/src/layout/container.rs @@ -99,6 +99,7 @@ pub struct BoxElem { } impl Layout for BoxElem { + #[tracing::instrument(name = "BoxElem::layout", skip_all)] fn layout( &self, vt: &mut Vt, @@ -326,6 +327,7 @@ pub struct BlockElem { } impl Layout for BlockElem { + #[tracing::instrument(name = "BlockElem::layout", skip_all)] fn layout( &self, vt: &mut Vt, |
