Skip to content

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Sep 17, 2025

This fixes a collision with the ID generation where it a previous entry could generate a unique ID like "foo-1", but then a header with the text "Foo 1" would collide with it. This fixes it so that when generating the ID for "Foo 1", it will loop unit it finds an ID that doesn't collide (in this case, foo-1-1).

This fixes a collision with the ID generation where it a previous entry
could generate a unique ID like "foo-1", but then a header with the text
"Foo 1" would collide with it. This fixes it so that when generating the
ID for "Foo 1", it will loop unit it finds an ID that doesn't collide
(in this case, `foo-1-1`).
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Sep 17, 2025
@ehuss ehuss enabled auto-merge September 17, 2025 21:36
@ehuss ehuss added this pull request to the merge queue Sep 17, 2025
Merged via the queue into rust-lang:master with commit 53d39a8 Sep 17, 2025
14 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: waiting on a review label Sep 17, 2025
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.

2 participants