Skip to content

Commit

Permalink
Migrate to rust 2018
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Feb 1, 2019
1 parent e115412 commit 829f35a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ pub mod proc_macro {
macro_rules! wrap_pyfunction {
($function_name:ident) => {{
// Get the mashup macro and its helpers into scope
use $crate::mashup::*;
use mashup::*;

mashup! {
// Make sure this ident matches the one in function_wrapper_ident
Expand All @@ -227,7 +227,7 @@ macro_rules! wrap_pyfunction {
#[macro_export]
macro_rules! wrap_pymodule {
($module_name:ident) => {{
use $crate::mashup::*;
use mashup::*;

mashup! {
m["method"] = PyInit_ $module_name;
Expand Down

0 comments on commit 829f35a

Please sign in to comment.