Skip to content

Commit

Permalink
Add space in the docs between struct name and opening braces
Browse files Browse the repository at this point in the history
It's been a little eye-sore :)
  • Loading branch information
tronical authored Jan 1, 2025
1 parent cf910d3 commit 4bb6320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/rs/slint/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export component MyComponent inherits Window { /*...*/ }
in the .slint file, it will create a
```rust
struct MyComponent{ /*...*/ }
struct MyComponent { /*...*/ }
```
See also our [sample component](docs::generated_code::SampleComponent) for more information about the API of the generated struct.
Expand Down

0 comments on commit 4bb6320

Please sign in to comment.