gpui: Update link to Ownership and data flow section (#40457)

Fixed broken link to `Ownership and data flow section`.
This commit is contained in:
Seivan 2025-10-17 22:26:10 +02:00 committed by GitHub
parent 7e97fcaacb
commit 60285459e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,7 +11,7 @@ GPUI is still in active development as we work on the Zed code editor, and is st
gpui = { version = "*" }
```
- [Ownership and data flow](_ownership_and_data_flow)
- [Ownership and data flow](src/_ownership_and_data_flow.rs)
Everything in GPUI starts with an `Application`. You can create one with `Application::new()`, and kick off your application by passing a callback to `Application::run()`. Inside this callback, you can create a new window with `App::open_window()`, and register your first root view. See [gpui.rs](https://www.gpui.rs/) for a complete example.