Use less verbose span names when the tracy feature is off

This commit is contained in:
Imbris
2020-09-07 00:59:16 -04:00
parent 7efbc74551
commit f39d1e9bb5
40 changed files with 112 additions and 73 deletions

View File

@ -328,7 +328,7 @@ impl Chaser {
where
V: BaseVol<Vox = Block> + ReadVol,
{
span!(_guard, "Chaser::chase");
span!(_guard, "chase", "Chaser::chase");
let pos_to_tgt = pos.distance(tgt);
// If we're already close to the target then there's nothing to do