diff options
| author | Graydon Hoare <[email protected]> | 2010-08-20 11:40:59 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-08-20 11:42:44 -0700 |
| commit | 9fc4fc6692c6684487eb57c6608ee34ab94dd9f5 (patch) | |
| tree | cddbecd3d439f36d27c4549700d25ab3c23f1f52 /src/lib/std.rc | |
| parent | Modify session to report errors in an emacs-parser-friendlier way. (diff) | |
| download | rust-9fc4fc6692c6684487eb57c6608ee34ab94dd9f5.tar.xz rust-9fc4fc6692c6684487eb57c6608ee34ab94dd9f5.zip | |
Add _uint module to std, move some code around.
Diffstat (limited to 'src/lib/std.rc')
| -rw-r--r-- | src/lib/std.rc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/std.rc b/src/lib/std.rc index c2a2cf0c..ea8e50eb 100644 --- a/src/lib/std.rc +++ b/src/lib/std.rc @@ -7,6 +7,7 @@ meta (name = "std", // Built-in types support modules. mod _int; +mod _uint; mod _u8; mod _vec; mod _str; @@ -28,7 +29,7 @@ auth _str = unsafe; auth _vec = unsafe; auth _task = unsafe; -auth _int.next_power_of_two = unsafe; +auth _uint.next_power_of_two = unsafe; auth map.mk_hashmap = unsafe; auth rand.mk_rng = unsafe; |