Minor, cleanup API

This commit is contained in:
Aleksey Kladov
2020-12-18 19:50:00 +03:00
parent 8be3f25b0b
commit cd4a7bf36e
2 changed files with 4 additions and 1 deletions

View File

@@ -145,7 +145,7 @@ impl FunctionBuilder {
self.type_params,
self.params,
fn_body,
Some(make::ret_type(make::ty("()"))),
Some(make::ret_type(make::ty_unit())),
);
let leading_ws;
let trailing_ws;