Browse Source

Clarify wording of StringBuf doc (#9201)

* Clarify wording of StringBuf doc

It was not clear what `internal buffer` was referring to.

* Remove mentions of internals from StringBuf doc

as proposed in https://github.com/HaxeFoundation/haxe/pull/9201
aszasz 5 years ago
parent
commit
f020ef12d1
1 changed files with 1 additions and 4 deletions
  1. 1 4
      std/StringBuf.hx

+ 1 - 4
std/StringBuf.hx

@@ -24,12 +24,9 @@
 	A String buffer is an efficient way to build a big string by appending small
 	A String buffer is an efficient way to build a big string by appending small
 	elements together.
 	elements together.
 
 
-	Its cross-platform implementation uses String concatenation internally, but
-	StringBuf may be optimized for different targets.
-
 	Unlike String, an instance of StringBuf is not immutable in the sense that
 	Unlike String, an instance of StringBuf is not immutable in the sense that
 	it can be passed as argument to functions which modify it by appending more
 	it can be passed as argument to functions which modify it by appending more
-	values. However, the internal buffer cannot be modified.
+	values.
 **/
 **/
 class StringBuf {
 class StringBuf {
 	var b:String;
 	var b:String;