Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Rename `chat_with_functions` to use snake_case (#11020)

Marshall Bowersf8beda070454
diff --git a/crates/assistant2/examples/chat-with-functions.rs b/crates/assistant2/examples/chat_with_functions.rs
similarity index 99%
rename from crates/assistant2/examples/chat-with-functions.rs
rename to crates/assistant2/examples/chat_with_functions.rs
index 0a6ecbb02b9..6c2870e6804 100644
--- a/crates/assistant2/examples/chat-with-functions.rs
+++ b/crates/assistant2/examples/chat_with_functions.rs
@@ -1,4 +1,5 @@
-/// This example creates a basic Chat UI with a function for rolling a die.
+//! This example creates a basic Chat UI with a function for rolling a die.
+
use anyhow::{Context as _, Result};
use assets::Assets;
use assistant2::AssistantPanel;