From 561ff979d574f496415c0499345d41da2e1f6e1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20d=27Herbais=20de=20Thun?= Date: Sun, 23 Apr 2023 14:33:56 +0200 Subject: Add instrumentation (Part 1) (#761) --- library/src/math/attach.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'library/src/math/attach.rs') diff --git a/library/src/math/attach.rs b/library/src/math/attach.rs index c90b4945..dcf7fb78 100644 --- a/library/src/math/attach.rs +++ b/library/src/math/attach.rs @@ -27,6 +27,7 @@ pub struct AttachElem { } impl LayoutMath for AttachElem { + #[tracing::instrument(skip(ctx))] fn layout_math(&self, ctx: &mut MathContext) -> SourceResult<()> { let base = self.base(); let display_limits = base.is::(); @@ -83,6 +84,7 @@ pub struct ScriptsElem { } impl LayoutMath for ScriptsElem { + #[tracing::instrument(skip(ctx))] fn layout_math(&self, ctx: &mut MathContext) -> SourceResult<()> { self.body().layout_math(ctx) } @@ -105,6 +107,7 @@ pub struct LimitsElem { } impl LayoutMath for LimitsElem { + #[tracing::instrument(skip(ctx))] fn layout_math(&self, ctx: &mut MathContext) -> SourceResult<()> { self.body().layout_math(ctx) } -- cgit v1.2.3