From d2bd07dcb02783063375b6c8532fceaf9fa9d50f Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 19 Apr 2011 13:35:49 -0700 Subject: Remove effect system from src. --- src/lib/std.rc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/lib/std.rc') diff --git a/src/lib/std.rc b/src/lib/std.rc index 67a41dad..7e9e06c2 100644 --- a/src/lib/std.rc +++ b/src/lib/std.rc @@ -34,21 +34,6 @@ auth _str = unsafe; auth _vec = unsafe; auth _task = unsafe; - -// FIXME: impure on these will infect caller in a way that is totally -// beyond reason, if the caller's mutated-argument doesn't escape; -// 'impure' needs work. -auth _str.unshift_byte = impure; -auth _str.shift_byte = impure; -auth _str.pop_byte = impure; -auth _str.unshift_char = impure; -auth _str.shift_char = impure; -auth _str.pop_char = impure; -auth _vec.shift = impure; -auth _vec.unshift = impure; -auth _vec.pop = impure; -auth UFind.union = impure; - auth dbg = unsafe; auth _uint.next_power_of_two = unsafe; -- cgit v1.2.3