mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Tighten up checks for spaces around colons to deal with trait inheritance syntax.
This commit is contained in:
parent
8bb853f643
commit
a147cbe0c1
3 changed files with 12 additions and 10 deletions
|
@ -39,8 +39,8 @@ impl<T> FullBinarySearchMethods<T> for [T] {
|
|||
return None;
|
||||
}
|
||||
|
||||
let mut low : isize = 0;
|
||||
let mut high : isize = (self.len() as isize) - 1;
|
||||
let mut low: isize = 0;
|
||||
let mut high: isize = (self.len() as isize) - 1;
|
||||
|
||||
while low <= high {
|
||||
// http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue