diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-04-14 13:00:46 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-04-14 13:00:46 +1200 |
| commit | 76854677c1b730ecb262b5277a6520fc2ff75974 (patch) | |
| tree | 035a797668300dc97bcb722f9b6b0f463ebc9dd0 /src/string_buffer.rs | |
| parent | a82a9791f80599a2e476be740c49136acd6aa618 (diff) | |
New reformatting of fns
Diffstat (limited to 'src/string_buffer.rs')
| -rw-r--r-- | src/string_buffer.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/string_buffer.rs b/src/string_buffer.rs index 142231b6d7d..df11e79d318 100644 --- a/src/string_buffer.rs +++ b/src/string_buffer.rs @@ -81,7 +81,11 @@ impl StringBuffer { pub fn cur_offset(&self) -> usize { unsafe { let result = (&*self.last).cur_offset(); - result.unwrap_or_else(|| panic!("Unimplemented cur_offset across node boundaries")) + // TODO + result.unwrap_or_else(|| { + println!(" FIXME Unimplemented cur_offset across node boundaries"); + 0 + }) } } |
