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
At the moment it's impossible to get access to the graph from the closure (or I'm doing something wrong):
use sodg::Sodg; let mut g = Sodg::empty(); g.add(0).unwrap(); g.add(1).unwrap(); g.bind(0, 1, "foo").unwrap(); assert!(g.find(0, "bar").is_err()); let v = g.find_with_closure(0, "bar", |v, a, b| { g.find(123, "hello"); // can't compile this! Ok("foo".to_string()) }).unwrap(); assert_eq!(1, v);
Let's make it possible somehow to access the graph from the closure. Maybe pass it as the 4th argument to the closure?
The text was updated successfully, but these errors were encountered:
@UARTman can you help?
Sorry, something went wrong.
objectionary#63: Modify find_with_closure
58a9a16
ff25c44
@rultor release, tag is 0.0.13
0.0.13
@yegor256 OK, I will release it now. Please check the progress here
@yegor256 Done! FYI, the full log is here (took me 3min)
UARTman
No branches or pull requests
At the moment it's impossible to get access to the graph from the closure (or I'm doing something wrong):
Let's make it possible somehow to access the graph from the closure. Maybe pass it as the 4th argument to the closure?
The text was updated successfully, but these errors were encountered: