Page MenuHomePhabricator

[Chronik] Remove unneeded `.as_ref()` call
ClosedPublic

Authored by tobias_ruck on Jul 24 2024, 00:35.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC76ec1d497a76: [Chronik] Remove unneeded `.as_ref()` call
Summary

This call is unneeded and magically breaks the type inference when plugins are enabled.

Might be a compiler bug; but since this is a good change regardless there's little point in investigating deeper.

Test Plan

ninja

Event Timeline

also fix one such usage in test_batch_nft1.rs

tobias_ruck retitled this revision from [Chronik] MempoolGroupUtxos: Remove unneeded `.as_ref()` call to [Chronik] Remove unneeded `.as_ref()` call.Jul 24 2024, 10:22
This revision is now accepted and ready to land.Jul 24 2024, 12:11