Merge pull request #3193 from tony-jinwoo-ahn/writeln

Replace write! with writeln!
This commit is contained in:
Jeong YunWon authored and GitHub committed 2021-10-02 16:36:54 +09:00
commit 843a1bbc94
1 file changed
+1 -1
+1 -1
View File
@@ -874,7 +874,7 @@ impl<C: Constant> fmt::Display for CodeObject<C> {
self.display_inner(f, false, 1)?;
for constant in &*self.constants {
if let BorrowedConstant::Code { code } = constant.borrow_constant() {
write!(f, "\nDisassembly of {:?}\n", code)?;
writeln!(f, "\nDisassembly of {:?}", code)?;
code.fmt(f)?;
}
}