Generate documentation
With AI Assistant, you can generate documentation for any item declaration using the LLM (Large Language Model).
In RustRover, Doctests will be included wherever possible.
Place the caret at the desired item and right-click to open the context menu.
In the context menu, select AI actions and then Write documentation.
AI Assistant will generate documentation for the selected item.
You can customize the prompt for the Write Documentation action in .
Last modified: 14 April 2025