Update lib.rs

This commit is contained in:
shenjack 2023-01-20 14:08:23 +08:00
parent 963508597b
commit 49158c0ae1

View File

@ -1,5 +1,5 @@
use pyo3::prelude::*; use pyo3::prelude::*;
#[allow(non_snake_case)]
/// Formats the sum of two numbers as string. /// Formats the sum of two numbers as string.
#[pyfunction] #[pyfunction]
fn sum_as_string(a: usize, b: usize) -> PyResult<String> { fn sum_as_string(a: usize, b: usize) -> PyResult<String> {