Skip to content

Commit

Permalink
#75 case explained
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 12, 2023
1 parent 967e911 commit c5482f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/find.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ impl FakeRelay {
#[cfg(test)]
impl Relay for FakeRelay {
fn re(&self, _v: u32, _a: &str, _b: &str) -> Result<String> {
// It's impossible to do what the following two lines are
// doing, because "self" is immutable:
// self.g.add(42).unwrap();
// Ok("ν42".to_string())
Ok("ν1".to_string())
}
}
Expand Down

0 comments on commit c5482f7

Please sign in to comment.