Migrate to rust 2018

This commit is contained in:
konstin 2019-02-01 14:01:18 +01:00
parent e1154120d1
commit 829f35af5b
1 changed files with 2 additions and 2 deletions

View File

@ -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
@ -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;