History

assistant: Use a more generic icon for the `/docs` command (#14247)

This PR updates the `/docs` slash command to use a more generic icon to convey docs. It was still using the Rust icon, a relic of when it was still `/rustdoc`. Release Notes: - N/A

Marshall Bowers committed 2 years ago

Commit cd4847c1 parent 4c63e8b1 file · +1 −1Browse files

Unified · Split

crates/assistant/src/slash_command/docs_command.rs+1−1
@@ -216,7 +216,7 @@ impl SlashCommand for DocsSlashCommand { · 215 unmodified lines
216216 text,
217217 sections: vec![SlashCommandOutputSection {
218218 range,
219− icon: IconName::FileRust,
219+ icon: IconName::FileDoc,
220220 label: format!("docs ({provider}): {path}",).into(),
221221 }],
222222 run_commands_in_text: false,