Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/docs/components/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ You may have a complex field that you want to reuse, you may want split the elem

In this case, the [SettingFieldElement] trait can help you to create a custom field element.

````rust
```rust
use gpui_component::setting::{SettingFieldElement, RenderOptions};

struct OpenURLSettingField {
Expand Down Expand Up @@ -496,4 +496,3 @@ Settings::new("app-settings")
[NumberFieldOptions]: https://docs.rs/gpui-component/latest/gpui_component/setting/struct.NumberFieldOptions.html
[GroupBox]: ./group-box.md
[Sizable]: https://docs.rs/gpui-component/latest/gpui_component/trait.Sizable.html
````