about summary refs log tree commit diff
path: root/src/rt/rust.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust.cpp')
-rw-r--r--src/rt/rust.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp
index 86a099c0cc2..25fb9331314 100644
--- a/src/rt/rust.cpp
+++ b/src/rt/rust.cpp
@@ -43,9 +43,9 @@ command_line_args : public kernel_owned<command_line_args>
                            "command line arg interior");
         args->fill = args->alloc = sizeof(rust_vec*) * argc;
         for (int i = 0; i < argc; ++i) {
-            rust_vec *str = make_istr(kernel, argv[i],
-                                      strlen(argv[i]),
-                                      "command line arg");
+            rust_vec *str = make_str(kernel, argv[i],
+                                     strlen(argv[i]),
+                                     "command line arg");
             ((rust_vec**)&args->data)[i] = str;
         }
     }