Skip to content

Commit

Permalink
Remove redundant attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbayley committed May 3, 2024
1 parent d7d9296 commit e66f132
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ fn sum_as_string(a: usize, b: usize) -> PyResult<String> {
/// the `lib.name` setting in the `Cargo.toml`, else Python will not be able to
/// import the module.
#[pymodule]
#[pyo3(name="gazelle")]
fn gazelle(m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_function(wrap_pyfunction!(sum_as_string, m)?)?;
Ok(())
Expand Down

0 comments on commit e66f132

Please sign in to comment.