diff options
| author | Graydon Hoare <[email protected]> | 2011-04-19 13:35:49 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-04-19 13:35:49 -0700 |
| commit | d2bd07dcb02783063375b6c8532fceaf9fa9d50f (patch) | |
| tree | a253b5eadb140d14bc99d1456e316ce1e210a6be /src/lib/std.rc | |
| parent | rustc: Allow glue to be emitted even for scalar types; this is necessary to s... (diff) | |
| download | rust-d2bd07dcb02783063375b6c8532fceaf9fa9d50f.tar.xz rust-d2bd07dcb02783063375b6c8532fceaf9fa9d50f.zip | |
Remove effect system from src.
Diffstat (limited to 'src/lib/std.rc')
| -rw-r--r-- | src/lib/std.rc | 15 |
1 files changed, 0 insertions, 15 deletions
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; |