Skip to content

Commit 5138e8b

Browse files
authored
Change simple code in book (#1698)
* Fix code * change changelog * change pr number * Add links to the bottom of file
1 parent 208e8ca commit 5138e8b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ You can find its changes [documented below](#070---2021-01-01).
5858

5959
### Docs
6060

61+
- Fix example code in `Get started with Druid` chapter of book ([#1698] by [@ccqpein])
62+
6163
### Examples
6264

6365
### Maintenance
@@ -441,6 +443,7 @@ Last release without a changelog :(
441443
[@SecondFlight]: https://github.com/SecondFlight
442444
[@lord]: https://github.com/lord
443445
[@Lejero]: https://github.com/Lejero
446+
[@ccqpein]: https://github.com/ccqpein
444447

445448
[#599]: https://github.com/linebender/druid/pull/599
446449
[#611]: https://github.com/linebender/druid/pull/611
@@ -657,6 +660,7 @@ Last release without a changelog :(
657660
[#1660]: https://github.com/linebender/druid/pull/1660
658661
[#1662]: https://github.com/linebender/druid/pull/1662
659662
[#1677]: https://github.com/linebender/druid/pull/1677
663+
[#1698]: https://github.com/linebender/druid/pull/1698
660664

661665
[Unreleased]: https://github.com/linebender/druid/compare/v0.7.0...master
662666
[0.7.0]: https://github.com/linebender/druid/compare/v0.6.0...v0.7.0

docs/src/get_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn build_ui() -> impl Widget<()> {
2626
}
2727
2828
fn main() -> Result<(), PlatformError> {
29-
AppLauncher::with_window(WindowDesc::new(build_ui)).launch(())?;
29+
AppLauncher::with_window(WindowDesc::new(build_ui())).launch(())?;
3030
Ok(())
3131
}
3232
```

0 commit comments

Comments
 (0)