Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 14, 2023
1 parent 7747d8a commit c401cd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/find.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ impl Sodg {
/// g.add(0).unwrap();
/// g.add(1).unwrap();
/// g.bind(0, 1, "foo").unwrap();
/// assert!(g.find(0, "bar", &mut DeadRelay::default()).is_err());
/// let v = g.find(0, "bar", &mut LambdaRelay::new(|v, a, b| {
/// assert!(g.find(0, "bar", &DeadRelay::default()).is_err());
/// let v = g.find(0, "bar", &LambdaRelay::new(|v, a, b| {
/// assert_eq!(a, "bar");
/// assert_eq!(b, "");
/// Ok("foo".to_string())
Expand Down

0 comments on commit c401cd1

Please sign in to comment.