about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
authorKevin Cantu <me@kevincantu.org>2012-02-01 03:45:44 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-01 21:56:53 -0800
commitfceec03da005edc82c90f1cbe1d102e8f365bad0 (patch)
tree947e5b433fe4a7b44860697c6d7bc17e54af3647 /src/comp/syntax/parse
parent6156bc56cbd1f40e538b59ff91ce9b8d89969ff3 (diff)
downloadrust-fceec03da005edc82c90f1cbe1d102e8f365bad0.tar.gz
rust-fceec03da005edc82c90f1cbe1d102e8f365bad0.zip
Propagating unsafe::slice 3
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/lexer.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/syntax/parse/lexer.rs b/src/comp/syntax/parse/lexer.rs
index d4e67e812d1..30dacd27d4e 100644
--- a/src/comp/syntax/parse/lexer.rs
+++ b/src/comp/syntax/parse/lexer.rs
@@ -579,7 +579,8 @@ fn all_whitespace(s: str, begin: uint, end: uint) -> bool {
     ret true;
 }
 
-fn trim_whitespace_prefix_and_push_line(&lines: [str], s: str, col: uint) unsafe {
+fn trim_whitespace_prefix_and_push_line(&lines: [str],
+                                        s: str, col: uint) unsafe {
     let s1;
     if all_whitespace(s, 0u, col) {
         if col < str::byte_len(s) {