Skip to content

Commit

Permalink
Change simple code in book (#1698)
Browse files Browse the repository at this point in the history
* Fix code

* change changelog

* change pr number

* Add links to the bottom of file
  • Loading branch information
ccqpein authored Apr 5, 2021
1 parent 208e8ca commit 5138e8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ You can find its changes [documented below](#070---2021-01-01).

### Docs

- Fix example code in `Get started with Druid` chapter of book ([#1698] by [@ccqpein])

### Examples

### Maintenance
Expand Down Expand Up @@ -441,6 +443,7 @@ Last release without a changelog :(
[@SecondFlight]: https://github.com/SecondFlight
[@lord]: https://github.com/lord
[@Lejero]: https://github.com/Lejero
[@ccqpein]: https://github.com/ccqpein

[#599]: https://github.com/linebender/druid/pull/599
[#611]: https://github.com/linebender/druid/pull/611
Expand Down Expand Up @@ -657,6 +660,7 @@ Last release without a changelog :(
[#1660]: https://github.com/linebender/druid/pull/1660
[#1662]: https://github.com/linebender/druid/pull/1662
[#1677]: https://github.com/linebender/druid/pull/1677
[#1698]: https://github.com/linebender/druid/pull/1698

[Unreleased]: https://github.com/linebender/druid/compare/v0.7.0...master
[0.7.0]: https://github.com/linebender/druid/compare/v0.6.0...v0.7.0
Expand Down
2 changes: 1 addition & 1 deletion docs/src/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn build_ui() -> impl Widget<()> {
}
fn main() -> Result<(), PlatformError> {
AppLauncher::with_window(WindowDesc::new(build_ui)).launch(())?;
AppLauncher::with_window(WindowDesc::new(build_ui())).launch(())?;
Ok(())
}
```
Expand Down

0 comments on commit 5138e8b

Please sign in to comment.