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 {
31
31
println ! ( ) ;
32
32
}
33
33
34
- let indent: String = ( 0 ..* depth. borrow ( ) * 4 ) . map ( |_| ' ' ) . collect ( ) ;
34
+ let indent: String = ( 0 ..* depth. borrow ( ) * 1 ) . map ( |_| ' ' ) . collect ( ) ;
35
35
log ! (
36
36
"{}({} \" {}\" " ,
37
37
indent,
@@ -55,7 +55,7 @@ impl Drop for AutoLogParse {
55
55
fn drop ( & mut self ) {
56
56
LOG_DEPTH . with ( |depth| {
57
57
* depth. borrow_mut ( ) -= 1 ;
58
- let indent: String = ( 0 ..* depth. borrow ( ) * 4 ) . map ( |_| ' ' ) . collect ( ) ;
58
+ let indent: String = ( 0 ..* depth. borrow ( ) * 1 ) . map ( |_| ' ' ) . collect ( ) ;
59
59
log ! ( "{})" , indent) ;
60
60
} ) ;
61
61
}
@@ -94,7 +94,7 @@ impl AutoLogDemangle {
94
94
println ! ( ) ;
95
95
}
96
96
97
- let indent: String = ( 0 ..* depth. borrow ( ) * 4 ) . map ( |_| ' ' ) . collect ( ) ;
97
+ let indent: String = ( 0 ..* depth. borrow ( ) * 1 ) . map ( |_| ' ' ) . collect ( ) ;
98
98
log ! ( "{}(" , indent) ;
99
99
log ! (
100
100
"{} {}{:?}" ,
@@ -131,7 +131,7 @@ impl Drop for AutoLogDemangle {
131
131
fn drop ( & mut self ) {
132
132
LOG_DEPTH . with ( |depth| {
133
133
* depth. borrow_mut ( ) -= 1 ;
134
- let indent: String = ( 0 ..* depth. borrow ( ) * 4 ) . map ( |_| ' ' ) . collect ( ) ;
134
+ let indent: String = ( 0 ..* depth. borrow ( ) * 1 ) . map ( |_| ' ' ) . collect ( ) ;
135
135
log ! ( "{})" , indent) ;
136
136
} ) ;
137
137
}
You can’t perform that action at this time.
0 commit comments