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.

docs(gpui): fix incomplete docs for function (#48333)

BlankWasThere21b3cfea6cfd
diff --git a/crates/gpui/src/app.rs b/crates/gpui/src/app.rs
index 4e2cf10ebfc..dc8d0091343 100644
--- a/crates/gpui/src/app.rs
+++ b/crates/gpui/src/app.rs
@@ -156,7 +156,7 @@ impl Application {
))
}
- /// Assign
+ /// Assigns the source of assets for the application.
pub fn with_assets(self, asset_source: impl AssetSource) -> Self {
let mut context_lock = self.0.borrow_mut();
let asset_source = Arc::new(asset_source);