about summary refs log tree commit diff
path: root/src/libcore/int-template/int.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/int-template/int.rs')
-rw-r--r--src/libcore/int-template/int.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/int-template/int.rs b/src/libcore/int-template/int.rs
index d28333c79e6..2557b1253b7 100644
--- a/src/libcore/int-template/int.rs
+++ b/src/libcore/int-template/int.rs
@@ -11,7 +11,7 @@ pure fn hash(&&x: int) -> uint { ret x as uint; }
 
 #[doc = "Returns `base` raised to the power of `exponent`"]
 fn pow(base: int, exponent: uint) -> int {
-    if exponent == 0u { ret 1; } //Not mathemtically true if [base == 0]
+    if exponent == 0u { ret 1; } //Not mathemtically true if [base == 0]/~
     if base     == 0  { ret 0; }
     let mut my_pow  = exponent;
     let mut acc     = 1;