]> saetta.ns0.it Git - rust/zakform/commitdiff
c2rs: not camel but capitalcase filter.
authorAndrea Zagli <azagli@libero.it>
Sat, 23 Sep 2023 08:22:25 +0000 (10:22 +0200)
committerAndrea Zagli <azagli@libero.it>
Sat, 23 Sep 2023 08:22:25 +0000 (10:22 +0200)
src/bin/c2rs.rs

index 84e26b1365154ef54257355d5445752bfb8b9a13..5ec3489e97c556b96a50d5f39187b764755d11cc 100644 (file)
@@ -171,7 +171,7 @@ fn main() {
                                        match filter.text.as_str() {
                                                "upper" => { println!("fi.add_filter(zakform::filters::filter_uppercase);"); },
                                                "lower" => { println!("fi.add_filter(zakform::filters::filter_lowercase);"); },
-                                               "camel" => { println!("fi.add_filter(zakform::filters::filter_camelcase);"); },
+                                               "camel" => { println!("fi.add_filter(zakform::filters::filter_capitalcase);"); },
                                                _ => { },
                                        };
                                },