mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 22:54:36 +00:00
Small typo fix :-)
This commit is contained in:
parent
bcaaa126da
commit
c18861125d
5 changed files with 7 additions and 7 deletions
|
@ -41,7 +41,7 @@ impl Animal for Dog {
|
|||
// the vtable macro also exposed a macro to create a vtable
|
||||
AnimalVTable_static!(static DOG_VT for Dog);
|
||||
|
||||
// with that, it is possible to instentiate a VBox
|
||||
// with that, it is possible to instantiate a VBox
|
||||
let animal_box = VBox::<AnimalVTable>::new(Dog(42));
|
||||
assert_eq!(animal_box.make_noise(2), 42 * 2);
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue