rusti: Correct formatting

This commit is contained in:
Zack Corr 2012-10-27 21:41:41 +10:00
parent 9ed8ce3364
commit 1afa29986f
2 changed files with 28 additions and 28 deletions

View File

@ -65,7 +65,7 @@ pub fn complete(cb: CompletionCb) unsafe {
task::local_data::local_data_set(complete_key, @(move cb));
extern fn callback(line: *c_char, completions: *()) unsafe {
let cb: CompletionCb = copy *task::local_data::local_data_get(complete_key).get();
let cb = copy *task::local_data::local_data_get(complete_key).get();
do cb(str::raw::from_c_str(line)) |suggestion| {
do str::as_c_str(suggestion) |buf| {