File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ impl AutoLogParse {
3131 println ! ( ) ;
3232 }
3333
34- let indent: String = ( 0 ..* depth. borrow ( ) * 4 ) . map ( |_| ' ' ) . collect ( ) ;
34+ let indent: String = ( 0 ..* depth. borrow ( ) * 1 ) . map ( |_| ' ' ) . collect ( ) ;
3535 log ! (
3636 "{}({} \" {}\" " ,
3737 indent,
@@ -55,7 +55,7 @@ impl Drop for AutoLogParse {
5555 fn drop ( & mut self ) {
5656 LOG_DEPTH . with ( |depth| {
5757 * depth. borrow_mut ( ) -= 1 ;
58- let indent: String = ( 0 ..* depth. borrow ( ) * 4 ) . map ( |_| ' ' ) . collect ( ) ;
58+ let indent: String = ( 0 ..* depth. borrow ( ) * 1 ) . map ( |_| ' ' ) . collect ( ) ;
5959 log ! ( "{})" , indent) ;
6060 } ) ;
6161 }
@@ -94,7 +94,7 @@ impl AutoLogDemangle {
9494 println ! ( ) ;
9595 }
9696
97- let indent: String = ( 0 ..* depth. borrow ( ) * 4 ) . map ( |_| ' ' ) . collect ( ) ;
97+ let indent: String = ( 0 ..* depth. borrow ( ) * 1 ) . map ( |_| ' ' ) . collect ( ) ;
9898 log ! ( "{}(" , indent) ;
9999 log ! (
100100 "{} {}{:?}" ,
@@ -131,7 +131,7 @@ impl Drop for AutoLogDemangle {
131131 fn drop ( & mut self ) {
132132 LOG_DEPTH . with ( |depth| {
133133 * depth. borrow_mut ( ) -= 1 ;
134- let indent: String = ( 0 ..* depth. borrow ( ) * 4 ) . map ( |_| ' ' ) . collect ( ) ;
134+ let indent: String = ( 0 ..* depth. borrow ( ) * 1 ) . map ( |_| ' ' ) . collect ( ) ;
135135 log ! ( "{})" , indent) ;
136136 } ) ;
137137 }
You can’t perform that action at this time.
0 commit comments