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:
Pierre Curto
2023-07-08 00:10:04 +02:00
committed by GitHub
parent 8780df8467
commit d709c18f5f
11 changed files with 20 additions and 20 deletions

View File

@@ -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");
}