From 76854677c1b730ecb262b5277a6520fc2ff75974 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Tue, 14 Apr 2015 13:00:46 +1200 Subject: New reformatting of fns --- src/string_buffer.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/string_buffer.rs') 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 + }) } } -- cgit 1.4.1-3-g733a5