From ebaa12798dd974c15b23c860d3a8d00c3fffcbe9 Mon Sep 17 00:00:00 2001 From: LunaTheFoxgirl Date: Sun, 15 Dec 2024 21:44:00 +0100 Subject: [PATCH] Remove unneeded debug stuff --- source/numem/io/stdio.d | 1 - source/numem/string.d | 3 --- 2 files changed, 4 deletions(-) diff --git a/source/numem/io/stdio.d b/source/numem/io/stdio.d index 1df1ed2..ccf788a 100644 --- a/source/numem/io/stdio.d +++ b/source/numem/io/stdio.d @@ -15,7 +15,6 @@ void nuWrite(nstring str) { import core.stdc.stdio : putchar; foreach(i; 0..str.length) putchar(str[i]); - putchar('\0'); } /** diff --git a/source/numem/string.d b/source/numem/string.d index 169ef2f..8879680 100644 --- a/source/numem/string.d +++ b/source/numem/string.d @@ -581,9 +581,6 @@ unittest { vector!nstring copy = strings; nogc_delete(copy); - import numem.io.stdio : writeln; - writeln(strings[0], " ", strings[1]); - assert(strings[0] == "a"); assert(strings[1] == "b");