Fix module name in word_count_cls
This commit is contained in:
parent
fe931a594f
commit
2ffa302a8d
|
@ -80,7 +80,7 @@ fn wc_parallel(lines: &str, search: &str) -> i32 {
|
|||
}
|
||||
|
||||
#[pymodinit]
|
||||
fn word_count(_py: Python, m: &PyModule) -> PyResult<()> {
|
||||
fn word_count_cls(_py: Python, m: &PyModule) -> PyResult<()> {
|
||||
m.add_class::<WordCounter>()?;
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in New Issue