Prevent DString from being initialized with "".

This commit is contained in:
Christoffer Lerno
2024-12-25 23:40:58 +01:00
parent 75ba4a1cdb
commit 7b73eec82b
2 changed files with 3 additions and 1 deletions

View File

@@ -1,7 +1,8 @@
module std::core::dstring;
import std::io;
distinct DString (OutStream) = void*;
distinct DString (OutStream) = DStringOpaque*;
distinct DStringOpaque = void;
const usz MIN_CAPACITY @private = 16;