浏览代码

Utf8: improved class doc comment wording

Gama11 9 年之前
父节点
当前提交
3f16c82dd8
共有 1 个文件被更改,包括 3 次插入3 次删除
  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);
 	}
 
-}
+}