File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ impl Lang {
4545}
4646
4747#[ pyfunction]
48- fn get_meaningful_line_indicies ( lang : Lang , src : & str ) -> Vec < usize > {
48+ fn get_meaningful_line_indices ( lang : Lang , src : & str ) -> Vec < usize > {
4949 lang. get_meaningful_line_indices ( src)
5050}
5151
@@ -62,7 +62,7 @@ fn get_count_of_meaningful_lines(lang: Lang, src: &str) -> usize {
6262/// the python module definition
6363#[ pymodule]
6464fn pydracula ( _py : Python < ' _ > , m : & types:: PyModule ) -> PyResult < ( ) > {
65- m. add_function ( wrap_pyfunction ! ( get_meaningful_line_indicies , m) ?) ?;
65+ m. add_function ( wrap_pyfunction ! ( get_meaningful_line_indices , m) ?) ?;
6666 m. add_function ( wrap_pyfunction ! ( get_cleaned_source_code, m) ?) ?;
6767 m. add_function ( wrap_pyfunction ! ( get_count_of_meaningful_lines, m) ?) ?;
6868 m. add_class :: < Lang > ( ) ?;
Original file line number Diff line number Diff line change 1- from pydracula import Lang , get_meaningful_line_indicies
1+ from pydracula import Lang , get_meaningful_line_indices
22
3- indicies = get_meaningful_line_indicies (
3+ indices = get_meaningful_line_indices (
44 Lang .C ,
55 """
66 int xyz() {
You can’t perform that action at this time.
0 commit comments