summaryrefslogtreecommitdiff
path: root/rust/src/function.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-05-04 15:49:30 -0400
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-05-12 17:45:24 -0400
commit16b6295afc4f7aee0e4aba4f2217b124524843d0 (patch)
treeb2e7478aee643b0f5902abd7a60aab856f4ea6f7 /rust/src/function.rs
parente180c955f9397849bdb1ea08f1e913ebac71ed5d (diff)
[Rust] Misc clippy lints
Diffstat (limited to 'rust/src/function.rs')
-rw-r--r--rust/src/function.rs3
1 files changed, 2 insertions, 1 deletions
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 {