Fix module name in word_count_cls

This commit is contained in:
konstin 2018-07-10 00:30:40 +02:00
parent fe931a594f
commit 2ffa302a8d
1 changed files with 1 additions and 1 deletions

View File

@ -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(())