mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
parent
f5e97ef1b5
commit
9c11781880
20 changed files with 25 additions and 29 deletions
|
@ -586,7 +586,7 @@ impl StackingContext {
|
|||
|
||||
pub fn print(&self, mut indentation: String) {
|
||||
// We cover the case of an empty string.
|
||||
if indentation.len() == 0 {
|
||||
if indentation.is_empty() {
|
||||
indentation = "####".to_owned();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue