Skip to content

refactor: use Span::empty to create empty spans#2658

Open
86xsk wants to merge 1 commit intoAutomattic:masterfrom
86xsk:span-empty
Open

refactor: use Span::empty to create empty spans#2658
86xsk wants to merge 1 commit intoAutomattic:masterfrom
86xsk:span-empty

Conversation

@86xsk
Copy link
Contributor

@86xsk 86xsk commented Feb 4, 2026

Description

Replaces instances of Span::new_with_len(..., 0) with Span::empty(...).

How Has This Been Tested?

  • cargo test

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes

Replaces instances of `Span::new_with_len(..., 0)` with
`Span::empty(...)`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant