# assistant: Add \`/rustdoc\` slash command \(\#12453\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 08881828ce61bd5ad16ed80ac8674d2ef6460574

Requested commit: 08881828ce61bd5ad16ed80ac8674d2ef6460574

Commit: 08881828ce61bd5ad16ed80ac8674d2ef6460574

Tree: f8dae86bcb9f1a699200ebf1f2f69ddb2de4948d

Author: Marshall Bowers

Committer: GitHub

## Message

```
assistant: Add `/rustdoc` slash command (#12453)

This PR adds a `/rustdoc` slash command for retrieving and inserting
rustdoc docs into the Assistant.

Right now the command accepts the crate name as an argument and will
return the top-level docs from `docs.rs`.

Release Notes:

- N/A
```

## Parents

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

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