Skip to content

Commit

Permalink
call-by update
Browse files Browse the repository at this point in the history
  • Loading branch information
sdleffler committed Apr 13, 2021
1 parent e7ad880 commit 056e994
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dialectic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ readme = "../README.md"

[dependencies]
thiserror = "1"
call-by = { version = "^0.2.3", path = "../../call-by" }
call-by = { version = "^0.2.3" }
vesta = { version = "0.1" }
tokio = { version = "1", optional = true }
tokio-util = { version = "0.6", features = ["codec"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion dialectic/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ impl<Tx: Transmitter + Transmit<T>, T: Match + Transmittable, const N: usize>
<CustomChoice<T> as Case<N>>::Case: By<'a, Val>,
'a: 'async_lifetime,
{
self.send(<CustomChoice<T> as Case<N>>::uncase(call_by::coerce_move(message)).0)
self.send(<CustomChoice<T> as Case<N>>::uncase(call_by::to_val(message)).0)
}
}

Expand Down

0 comments on commit 056e994

Please sign in to comment.