Skip to content

Commit 7bdad4e

Browse files
committed
Fix mistake and add debug
1 parent e2244d5 commit 7bdad4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dsc_lib/src/functions/greater.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
use crate::DscError;
55
use crate::configure::context::Context;
6-
use crate::functions::{AcceptedArgKind, FunctionCategory};
6+
use crate::functions::{AcceptedArgKind, Function, FunctionCategory};
77
use rust_i18n::t;
8-
use super::Function;
98
use serde_json::Value;
9+
use tracing::debug;
1010

1111
#[derive(Debug, Default)]
1212
pub struct Greater {}
@@ -34,7 +34,7 @@ impl Function for Greater {
3434

3535
fn invoke(&self, args: &[Value], _context: &Context) -> Result<Value, DscError> {
3636
debug!("{}", t!("functions.greater.invoked"));
37-
37+
3838
let first = &args[0];
3939
let second = &args[1];
4040

0 commit comments

Comments
 (0)