diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-03 15:00:28 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-03 15:00:28 -0400 |
| commit | 82849ba783e2b8f8e3a040751cd964313470e7f2 (patch) | |
| tree | 89380c5026b4da43d88658a5acf4d2c656ead8fe /builtins/memory.c | |
| parent | 29a87ff325b5d9682593d66bd17964e5c2447510 (diff) | |
Use Text("...") literal constructor instead of Text$from_str("...")
function call.
Diffstat (limited to 'builtins/memory.c')
| -rw-r--r-- | builtins/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/memory.c b/builtins/memory.c index 4e8e4c50..06fb7bb2 100644 --- a/builtins/memory.c +++ b/builtins/memory.c @@ -15,7 +15,7 @@ public Text_t Memory__as_text(const void *p, bool colorize, const TypeInfo *type) { (void)type; - if (!p) return Text$from_str("Memory"); + if (!p) return Text("Memory"); return Text$format(colorize ? "\x1b[0;34;1mMemory<%p>\x1b[m" : "Memory<%p>", p); } |
