From 2ffa302a8da3551f288b2881897f0f00d5a16660 Mon Sep 17 00:00:00 2001 From: konstin Date: Tue, 10 Jul 2018 00:30:40 +0200 Subject: [PATCH] Fix module name in word_count_cls --- examples/word-count-cls/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/word-count-cls/src/lib.rs b/examples/word-count-cls/src/lib.rs index 637811cd..56495656 100644 --- a/examples/word-count-cls/src/lib.rs +++ b/examples/word-count-cls/src/lib.rs @@ -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::()?; Ok(())