From 1e1e567435b7f14c3551ad012f9b9a59c8a89c8d Mon Sep 17 00:00:00 2001 From: NikVolf Date: Wed, 13 Apr 2016 13:30:58 +0300 Subject: [PATCH] fix namespaces --- ipc/codegen/src/typegen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc/codegen/src/typegen.rs b/ipc/codegen/src/typegen.rs index 73ce9a672..e339b6788 100644 --- a/ipc/codegen/src/typegen.rs +++ b/ipc/codegen/src/typegen.rs @@ -90,7 +90,7 @@ pub fn argument_replacement( argument_replacement(builder, replacements, nested_ty).and_then(|replaced_with| { let mut inplace_path = path.clone(); match inplace_path.segments[0].parameters { - ::syntax::ast::PathParameters::AngleBracketed(ref mut data) => { + ast::PathParameters::AngleBracketed(ref mut data) => { data.types = data.types.map(|_| replaced_with.clone()); }, _ => {}