error[E0107]: wrong number of type arguments: expected 2, found 1
--> src/lib.rs:29:38
|
29 | fn update(msg: Msg, model: Model) -> Update<Model> {
| ^^^^^^^^^^^^^ expected 2 type arguments
error: aborting due to previous error
For more information about this error, try `rustc --explain E0107`.
error: Could not compile `appname`.
There was a breaking change in the latest release. Update takes a message and a model: Update<Msg, Model>. I neglected to update the guide, readme, and quickstart. Fixed.
Hi! I try to build the example
and I got the error: