Skip to content

internal: Remove dead struct field#22728

Merged
ChayimFriedman2 merged 1 commit into
rust-lang:masterfrom
Wilfred:unused_docs_field
Jul 6, 2026
Merged

internal: Remove dead struct field#22728
ChayimFriedman2 merged 1 commit into
rust-lang:masterfrom
Wilfred:unused_docs_field

Conversation

@Wilfred

@Wilfred Wilfred commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

NavigationTarget::docs isn't actually used anywhere, so remove it.

After 05c0f88 I thought I'd take a look at any other obviously unused fields and found this. This change has negligible performance impact in my testing, but it's less code.

AI disclosure: Written with help by Claude and Fable 5.

NavigationTarget::docs isn't actually used anywhere, so remove it.

After 05c0f88 I thought I'd take a
look at any other obviously unused fields and found this. This change
has negligible performance impact in my testing, but it's less code.

AI disclosure: Written with help by Claude and Fable 5.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 6, 2026
@ChayimFriedman2 ChayimFriedman2 added this pull request to the merge queue Jul 6, 2026
Merged via the queue into rust-lang:master with commit 3c636c7 Jul 6, 2026
18 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 6, 2026
@Wilfred Wilfred deleted the unused_docs_field branch July 6, 2026 14:36
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.

3 participants