Skip to content

Commit

Permalink
Remove extra Python arg
Browse files Browse the repository at this point in the history
  • Loading branch information
maffoo committed Feb 26, 2024
1 parent bbf0956 commit 0c32203
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_no_imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ fn basic_module(_py: pyo3::Python<'_>, m: &pyo3::types::PyModule) -> pyo3::PyRes
}

#[pyo3::pymodule]
fn basic_module_bound(
_py: pyo3::Python<'_>,
m: &pyo3::Bound<'_, pyo3::types::PyModule>,
) -> pyo3::PyResult<()> {
fn basic_module_bound(m: &pyo3::Bound<'_, pyo3::types::PyModule>) -> pyo3::PyResult<()> {
#[pyfn(m)]
fn answer() -> usize {
42
Expand Down

0 comments on commit 0c32203

Please sign in to comment.