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