Parcourir la source

Utf8: improved class doc comment wording

Gama11 il y a 9 ans
Parent
commit
3f16c82dd8
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      std/haxe/Utf8.hx

+ 3 - 3
std/haxe/Utf8.hx

@@ -22,7 +22,7 @@
 package haxe;
 
 /**
-	Since all platforms does not guarantee that String always uses UTF-8 encoding, you
+	Since not all platforms guarantee that `String` always uses UTF-8 encoding, you
 	can use this crossplatform API to perform operations on such strings.
 **/
 class Utf8 {
@@ -44,7 +44,7 @@ class Utf8 {
 	}
 
 	/**
-		Returns the buffer converted to a String;
+		Returns the buffer converted to a String.
 	**/
 	public inline function toString() : String {
 		return __b;
@@ -109,4 +109,4 @@ class Utf8 {
 		return s.substr(pos,len);
 	}
 
-}
+}