correct formatting on heap_print
This commit is contained in:
@@ -56,14 +56,13 @@ pub struct PrinterOutputter {
|
|||||||
contents: String
|
contents: String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl HeapCellValueOutputter for PrinterOutputter {
|
||||||
|
type Output = String;
|
||||||
|
|
||||||
impl HeapCellValueOutputter for PrinterOutputter {
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
PrinterOutputter { contents: String::new() }
|
PrinterOutputter { contents: String::new() }
|
||||||
}
|
}
|
||||||
|
|
||||||
type Output = String;
|
|
||||||
|
|
||||||
fn append(&mut self, contents: &str) {
|
fn append(&mut self, contents: &str) {
|
||||||
self.contents += contents;
|
self.contents += contents;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user