mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
std/lib/core: rename DString.str to DString.as_str (#834)
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
This commit is contained in:
@@ -12,6 +12,6 @@ fn void! test_writing()
|
||||
String test_str = "2134";
|
||||
r.init(test_str);
|
||||
s.read_from(r.as_stream())!;
|
||||
String o = foo.str();
|
||||
String o = foo.as_str();
|
||||
assert(o == "hello-what?2134");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user