We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d89d53a commit 5ad415aCopy full SHA for 5ad415a
gossip/src/cluster_info_metrics.rs
@@ -56,9 +56,6 @@ pub(crate) struct ScopedTimer<'a> {
56
}
57
58
impl<'a> From<&'a Counter> for ScopedTimer<'a> {
59
- // Output should be assigned to a *named* variable, otherwise it is
60
- // immediately dropped.
61
- #[must_use]
62
fn from(counter: &'a Counter) -> Self {
63
Self {
64
clock: Instant::now(),
runtime/src/accounts_background_service/stats.rs
@@ -102,7 +102,6 @@ impl Stats {
102
103
104
impl Default for Stats {
105
106
fn default() -> Self {
107
108
num_iterations: 0,
0 commit comments