Skip to content

Commit 1f819fd

Browse files
daniil.lobanTrueDoctor
authored andcommitted
fix: number convention
1 parent ac1dce3 commit 1f819fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node-graph/gcore/src/logic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fn substring_by_index(_: impl Ctx, #[implementations(String)] string: String, de
133133
#[node_macro::node(category("Text"))]
134134
fn count_substring(_: impl Ctx, #[implementations(String)] string: String, substring: String) -> f64 {
135135
if substring.is_empty() {
136-
return 0.0;
136+
return 0.;
137137
}
138138
string.matches(&substring).count() as f64
139139
}

0 commit comments

Comments
 (0)