From f879fd9b431e2bc5583b520cc83d36ab40ae814c Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Fri, 10 Aug 2018 16:12:39 -0400 Subject: [PATCH] Rename objlist::append as it is unused --- vm/src/objlist.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/src/objlist.rs b/vm/src/objlist.rs index 67d075b33..b3eb90b5a 100644 --- a/vm/src/objlist.rs +++ b/vm/src/objlist.rs @@ -22,7 +22,7 @@ pub fn set_item( } } -pub fn append(vm: &mut VirtualMachine, _l: PyObjectRef, _other: PyObjectRef) -> PyResult { +pub fn _append(vm: &mut VirtualMachine, _l: PyObjectRef, _other: PyObjectRef) -> PyResult { // TODO: Implement objlist::append Ok(vm.get_none()) } @@ -31,6 +31,6 @@ pub fn append(vm: &mut VirtualMachine, _l: PyObjectRef, _other: PyObjectRef) -> pub fn make_type() -> PyObjectRef { // dict.insert("__set_item__".to_string(), set_item); - dict.insert("append".to_string(), append) + dict.insert("append".to_string(), _append) } */