From 16b6295afc4f7aee0e4aba4f2217b124524843d0 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 4 May 2025 15:49:30 -0400 Subject: [Rust] Misc clippy lints --- rust/src/function.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rust/src/function.rs') diff --git a/rust/src/function.rs b/rust/src/function.rs index 3eea3a3f..50753d74 100644 --- a/rust/src/function.rs +++ b/rust/src/function.rs @@ -49,7 +49,7 @@ use crate::variable::{ use crate::workflow::Workflow; use std::fmt::{Debug, Formatter}; use std::ptr::NonNull; -use std::time::{Duration, UNIX_EPOCH}; +use std::time::Duration; use std::{ffi::c_char, hash::Hash, ops::Range}; /// Used to describe a location within a [`Function`]. @@ -2520,6 +2520,7 @@ pub struct PerformanceInfo { pub seconds: Duration, } +#[allow(unused)] impl PerformanceInfo { pub fn new(name: String, seconds: Duration) -> Self { Self { -- cgit v1.3.1