# rustdoc_to_markdown: Handle "stabs" in item name entries \(\#12494\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c83d1c23d7efe7d21ea1d0b53cc57d596bd249b1)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c83d1c23d7efe7d21ea1d0b53cc57d596bd249b1

Requested commit: c83d1c23d7efe7d21ea1d0b53cc57d596bd249b1

Commit: c83d1c23d7efe7d21ea1d0b53cc57d596bd249b1

Tree: 63bed7dc3be8d4119bd218df32c860dae1759911

Author: Marshall Bowers

Committer: GitHub

## Message

```
rustdoc_to_markdown: Handle "stabs" in item name entries (#12494)

This PR extends `rustdoc_to_markdown` with support for rustdoc's
"stabs".

These are used in item name lists to indicate that the construct is
behind a feature flag:

<img width="641" alt="Screenshot 2024-05-30 at 1 34 53 PM"
src="https://github.com/zed-industries/zed/assets/1486634/0216f325-dc4e-4302-b6db-149ace31deea">

We now treat these specially in the Markdown output:

<img width="813" alt="Screenshot 2024-05-30 at 1 35 27 PM"
src="https://github.com/zed-industries/zed/assets/1486634/96396305-123d-40b2-af49-7eed71b62971">

Release Notes:

- N/A
```

## Parents

- [39a2cdb13fa109cf8add355227cacb20d2264919](https://git.cafe/gitcafe/zed/commit/39a2cdb13fa109cf8add355227cacb20d2264919?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c83d1c23d7efe7d21ea1d0b53cc57d596bd249b1?format=markdown)
