summary refs log tree commit diff
path: root/src/libcore/num
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-03-07 15:44:21 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-03-11 09:35:58 -0700
commitbd2d17e4a1f75bc7e451fc1054d98ff13c456850 (patch)
tree4786d560c72b34b8725be337a677c4c6b8a47508 /src/libcore/num
parentd18f7854578e8c2e1d7dce90db6e3b5cf9befba9 (diff)
downloadrust-bd2d17e4a1f75bc7e451fc1054d98ff13c456850.tar.gz
rust-bd2d17e4a1f75bc7e451fc1054d98ff13c456850.zip
libsyntax: Stop parsing bare functions in preparation for switching them over
Diffstat (limited to 'src/libcore/num')
-rw-r--r--src/libcore/num/uint-template.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libcore/num/uint-template.rs b/src/libcore/num/uint-template.rs
index 9a141bfd341..9abbfb03d7a 100644
--- a/src/libcore/num/uint-template.rs
+++ b/src/libcore/num/uint-template.rs
@@ -67,7 +67,10 @@ pub pure fn is_nonnegative(x: T) -> bool { x >= 0 as T }
  * Iterate over the range [`start`,`start`+`step`..`stop`)
  *
  */
-pub pure fn range_step(start: T, stop: T, step: T_SIGNED, it: &fn(T) -> bool) {
+pub pure fn range_step(start: T,
+                       stop: T,
+                       step: T_SIGNED,
+                       it: &fn(T) -> bool) {
     let mut i = start;
     if step == 0 {
         fail!(~"range_step called with step == 0");