mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 08:17:40 +03:00
make RocStr debug print its contents as a string
This commit is contained in:
parent
2c97c840fc
commit
9762c98355
@ -680,7 +680,7 @@ impl fmt::Debug for RocStr {
|
||||
f.debug_struct("RocStr")
|
||||
.field("is_small_str", &self.is_small_str())
|
||||
.field("storage", &self.storage())
|
||||
.field("elements", &self.as_slice())
|
||||
.field("elements", &self.as_str())
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user