Skip to content

Commit

Permalink
added "use pyo3::wrap_pyfunction;"
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeankit authored Jul 27, 2023
1 parent 316407b commit 4bed5a0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use pyo3::prelude::*;
use pyo3::wrap_pyfunction;

#[pyfunction]
fn add(x: i64, y: i64) -> i64 {
Expand Down

0 comments on commit 4bed5a0

Please sign in to comment.