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.

Fix broken character (#9992)

Petros Amoiridis3c8b3767640a
diff --git a/crates/gpui/docs/contexts.md b/crates/gpui/docs/contexts.md
index 763a9025170..3ccac8dcee5 100644
--- a/crates/gpui/docs/contexts.md
+++ b/crates/gpui/docs/contexts.md
@@ -1,6 +1,6 @@
# Contexts
-GPUI makes extensive use of *context parameters*, typically named `cx` and positioned at the end of the parameter list, unless they're before a final function parameter. A context reference provides access to application state and services.
+GPUI makes extensive use of _context parameters_, typically named `cx` and positioned at the end of the parameter list, unless they're before a final function parameter. A context reference provides access to application state and services.
There are multiple kinds of contexts, and contexts implement the `Deref` trait so that a function taking `&mut AppContext` could be passed a `&mut WindowContext` or `&mut ViewContext` instead.
@@ -30,7 +30,7 @@ Available when you create or update a `Model<T>`. It derefs to an `AppContext`,
## `ViewContext<V>`
-Available when you create or update a `View<V>`. It derefs to a `WindowContext`, but also contains methods specific to the particular view, such as the ability to notify change observers or emit events.
+Available when you create or update a `View<V>`. It derefs to a `WindowContext`, but also contains methods specific to the particular view, such as the ability to notify change observers or emit events.
## `AsyncAppContext` and `AsyncWindowContext`