about summary refs log tree commit diff
path: root/third_party/nix/src/nix/repl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/repl.cc')
-rw-r--r--third_party/nix/src/nix/repl.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/third_party/nix/src/nix/repl.cc b/third_party/nix/src/nix/repl.cc
index a24020b7ba..2d71887405 100644
--- a/third_party/nix/src/nix/repl.cc
+++ b/third_party/nix/src/nix/repl.cc
@@ -689,9 +689,8 @@ std::ostream& NixRepl::printValue(std::ostream& str, Value& v,
 
         str << "}";
       } else {
-        str
+        str << "{ ... }";
       }
-      << "{ ... }";
 
       break;
     }
@@ -715,9 +714,9 @@ std::ostream& NixRepl::printValue(std::ostream& str, Value& v,
           str << " ";
         }
       } else {
-        str
+        str << "... ";
       }
-      << "... ";
+
       str << "]";
       break;