diff options
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,8 @@ fn sum_as_string(a: usize, b: usize) -> PyResult<String> { /// A Python module implemented in Rust. #[pymodule] +#[pyo3(name = "libcore")] fn corelib(_py: Python, m: &PyModule) -> PyResult<()> { m.add_function(wrap_pyfunction!(sum_as_string, m)?)?; Ok(()) -} +}
\ No newline at end of file |
