From df4be1f9ced7c72ed7c6c187d3b8b98637bec1f3 Mon Sep 17 00:00:00 2001 From: j30ng Date: Thu, 12 Sep 2019 15:55:36 +0900 Subject: [PATCH] Remove Enum Instruction::Unpack --- src/compile.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compile.rs b/src/compile.rs index cf6405d..890ff8e 100644 --- a/src/compile.rs +++ b/src/compile.rs @@ -1617,9 +1617,8 @@ impl Compiler { self.compile_comprehension(kind, generators)?; } Starred { .. } => { - use std::string::String; return Err(CompileError { - error: CompileErrorType::SyntaxError(String::from( + error: CompileErrorType::SyntaxError(std::string::String::from( "Invalid starred expression", )), location: self.current_source_location.clone(),