We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 577896d commit a949790Copy full SHA for a949790
capnp-rpc/src/rpc.rs
@@ -1392,7 +1392,7 @@ impl<VatId> ConnectionState<VatId> {
1392
let contains_key = state.exports_by_cap.borrow().contains_key(&ptr);
1393
if contains_key {
1394
// We've already seen and exported this capability before. Just up the refcount.
1395
- let export_id = state.exports_by_cap.borrow()[(&ptr)];
+ let export_id = state.exports_by_cap.borrow()[&ptr];
1396
match state.exports.borrow_mut().find(export_id) {
1397
None => unreachable!(),
1398
Some(exp) => {
0 commit comments