We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem I am trying to follow the tutorial by writing the example step by step and using
ribir = {git = "https://github.com/RibirX/Ribir.git", features = ["material", "widgets"]}
in cargo.toml Coming to the point where function task_lists is introduced with emphasize on
task_lists
Did you notice the line about state splitting?
let task = this.split_writer( move |todos| todos.get_task(id).unwrap(), move |todos| todos.get_task_mut(id).unwrap(), );
I get the error message that split_writer should have only one argument.
split_writer
How do have to alter the function call to get it right?
Environment:
The text was updated successfully, but these errors were encountered:
Sorry, The documentation is currently outdated. I plan to update it soon. In the meantime, here's the correct usage:
let task = this.split_writer(|todos| PartData::from_ref_mut(todos.get_task_mut(id).unwrap()));
Sorry, something went wrong.
No branches or pull requests
Problem
I am trying to follow the tutorial by writing the example step by step and using
in cargo.toml
Coming to the point where function
task_lists
is introduced with emphasize onI get the error message that
split_writer
should have only one argument.How do have to alter the function call to get it right?
Environment:
The text was updated successfully, but these errors were encountered: