moudle
This commit is contained in:
parent
ed2739829f
commit
9806784503
|
@ -54,7 +54,7 @@ fn sum_as_string(a: usize, b: usize) -> PyResult<String> {
|
|||
Ok((a + b).to_string())
|
||||
}
|
||||
|
||||
/// This module is a python moudle implemented in Rust.
|
||||
/// This module is a python module implemented in Rust.
|
||||
#[pymodinit]
|
||||
fn string_sum(py: Python, m: &PyModule) -> PyResult<()> {
|
||||
m.add_function(wrap_function!(sum_as_string))?;
|
||||
|
|
Loading…
Reference in New Issue