Skip to content

Commit

Permalink
Merge pull request #105 from nickbabcock/fix-error
Browse files Browse the repository at this point in the history
Fix unrelated errors for non-sync example
  • Loading branch information
nickbabcock authored May 6, 2024
2 parents fb66e7c + 4c5782b commit d5cf366
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/compile-fail/non-sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ pub struct MyPlugin {

impl Plugin for MyPlugin {
fn read_values(&self) -> Result<(), Box<dyn error::Error>> {
let mut n = self.names.borrow_mut();
let mut n = self.name.borrow_mut();
n.pop();
Ok(())
}
}

Expand Down

0 comments on commit d5cf366

Please sign in to comment.