2011-07-27 07:19:39 -05:00
|
|
|
fn main() { test00(); }
|
2010-07-19 16:05:18 -05:00
|
|
|
|
2012-07-30 18:01:07 -05:00
|
|
|
fn start() { debug!{"Started / Finished task."}; }
|
2010-07-19 16:05:18 -05:00
|
|
|
|
2011-08-17 13:44:35 -05:00
|
|
|
fn test00() {
|
2012-06-30 18:19:07 -05:00
|
|
|
task::try(|| start() );
|
2012-07-30 18:01:07 -05:00
|
|
|
debug!{"Completing."};
|
2011-08-17 13:44:35 -05:00
|
|
|
}
|