mirror of
https://github.com/topjohnwu/cxx.git
synced 2024-11-24 04:20:02 +00:00
Remove unneeded return from void functions
This commit is contained in:
parent
e0bad9300c
commit
737e02eeb1
@ -821,12 +821,12 @@ fn write_rust_box_impl(out: &mut OutFile, ident: &Ident) {
|
||||
|
||||
writeln!(out, "template <>");
|
||||
writeln!(out, "void Box<{}>::uninit() noexcept {{", inner);
|
||||
writeln!(out, " return cxxbridge02$box${}$uninit(this);", instance);
|
||||
writeln!(out, " cxxbridge02$box${}$uninit(this);", instance);
|
||||
writeln!(out, "}}");
|
||||
|
||||
writeln!(out, "template <>");
|
||||
writeln!(out, "void Box<{}>::drop() noexcept {{", inner);
|
||||
writeln!(out, " return cxxbridge02$box${}$drop(this);", instance);
|
||||
writeln!(out, " cxxbridge02$box${}$drop(this);", instance);
|
||||
writeln!(out, "}}");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user