[tor-commits] [metrics-lib/master] Replace lambda with method reference.