diff options
| author | 2024-03-12 04:37:01 +0800 | |
|---|---|---|
| committer | 2024-03-12 04:37:01 +0800 | |
| commit | 0fcbef1be6910d77514bc0de986c4a67aa7e5c8e (patch) | |
| tree | 407c273d3a34b210e427764ab9b19d7a8bdfe123 /src/lib.rs | |
| parent | cff0ce84eef922912bcc277cd613e96f3571575e (diff) | |
| download | HydroRollCore-0fcbef1be6910d77514bc0de986c4a67aa7e5c8e.tar.gz HydroRollCore-0fcbef1be6910d77514bc0de986c4a67aa7e5c8e.zip | |
chore: update profile and deps
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ fn sum_as_string(a: usize, b: usize) -> PyResult<String> { /// A Python module implemented in Rust. #[pymodule] -fn hydro_roll_core(_py: Python, m: &PyModule) -> PyResult<()> { +fn corelib(_py: Python, m: &PyModule) -> PyResult<()> { m.add_function(wrap_pyfunction!(sum_as_string, m)?)?; Ok(()) } |
