about summary refs log tree commit diff
path: root/src/libstd/sort.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-18 11:17:40 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-18 11:31:57 -0700
commit2cdb23bbc08fba2f5dc7b0dcc79983fc02e32960 (patch)
tree683f1e841f369e737e6d0c26fcafe5057531566c /src/libstd/sort.rs
parentefa6675f1d632f5d524f4a7a18838c6ee1c0c447 (diff)
downloadrust-2cdb23bbc08fba2f5dc7b0dcc79983fc02e32960.tar.gz
rust-2cdb23bbc08fba2f5dc7b0dcc79983fc02e32960.zip
Replace uses of 'unchecked' with 'unsafe'
Diffstat (limited to 'src/libstd/sort.rs')
-rw-r--r--src/libstd/sort.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sort.rs b/src/libstd/sort.rs
index 488ae16c751..74ee337f5b5 100644
--- a/src/libstd/sort.rs
+++ b/src/libstd/sort.rs
@@ -314,7 +314,7 @@ mod tests {
         // tjc: funny that we have to use parens
         pure fn ile(x: &(&static/str), y: &(&static/str)) -> bool
         {
-            unchecked            // to_lower is not pure...
+            unsafe            // to_lower is not pure...
             {
                 let x = x.to_lower();
                 let y = y.to_lower();