about summary refs log tree commit diff
path: root/src/rt/rust_shape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_shape.cpp')
-rw-r--r--src/rt/rust_shape.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp
index 47f8b1d688e..7f242143d51 100644
--- a/src/rt/rust_shape.cpp
+++ b/src/rt/rust_shape.cpp
@@ -440,6 +440,7 @@ log::walk_string(const std::pair<ptr,ptr> &data) {
 void
 log::walk_struct(const uint8_t *end_sp) {
     out << prefix << "(";
+    prefix = "";
 
     bool first = true;
     while (sp != end_sp) {