From 7b84f21b48d5b4d5527c8fbceacc2f726878a59b Mon Sep 17 00:00:00 2001 From: ivaaaan Date: Thu, 4 Apr 2024 21:43:48 +0700 Subject: [PATCH] wip: add return type --- src/modular_candle_trait.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modular_candle_trait.rs b/src/modular_candle_trait.rs index ee3db16..3e2d2ba 100644 --- a/src/modular_candle_trait.rs +++ b/src/modular_candle_trait.rs @@ -14,5 +14,5 @@ pub trait ModularCandle: Clone + Default { fn finalize(&mut self); /// Check if aggregation rule triggered has been triggered on candle - fn finalized(&mut self); + fn finalized(&mut self) -> bool; }