about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-08-30 12:54:50 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-08-31 16:21:47 -0700
commit4128cc4cb44acb415be3cfdfa008fd6c95ceee74 (patch)
tree321c8c7ed1c28247377bf4122365c047d69f891f /src/libsyntax/parse
parent638db28c472c1edadc3c37f900df28f14cca7665 (diff)
downloadrust-4128cc4cb44acb415be3cfdfa008fd6c95ceee74.tar.gz
rust-4128cc4cb44acb415be3cfdfa008fd6c95ceee74.zip
Make utility funs in core::int, core::uint, etc. not by-reference
Closes #3302
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/comments.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/comments.rs b/src/libsyntax/parse/comments.rs
index b4c9eb6f69e..7b18ca532e0 100644
--- a/src/libsyntax/parse/comments.rs
+++ b/src/libsyntax/parse/comments.rs
@@ -182,7 +182,7 @@ fn trim_whitespace_prefix_and_push_line(&lines: ~[~str],
                                         s: ~str, col: uint) unsafe {
     let mut s1;
     let len = str::len(s);
-    if all_whitespace(s, 0u, uint::min(&len, &col)) {
+    if all_whitespace(s, 0u, uint::min(len, col)) {
         if col < len {
             s1 = str::slice(s, col, len);
         } else { s1 = ~""; }