소스 검색

Marshal comment

nifei 8 년 전
부모
커밋
c69b61f879
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      feature_adapter.go

+ 2 - 2
feature_adapter.go

@@ -82,8 +82,8 @@ func UnmarshalAnyFromString(str string) (Any, error) {
 }
 
 // jsoniterator.Marshal is an adapter to json.Marshal
-
-// Marshal returns the JSON encoding of v, adapts to json/encoding API
+//
+// Marshal returns the JSON encoding of v, adapts to json/encoding Marshal API
 
 func Marshal(v interface{}) ([]byte, error) {
 	buf := &bytes.Buffer{}