Parcourir la source

codec: documentation: nits

Ugorji Nwoke il y a 6 ans
Parent
commit
01ca2b437b
3 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      README.md
  2. 1 1
      codec/doc.go
  3. 1 1
      codec/helper.go

+ 1 - 1
README.md

@@ -47,7 +47,7 @@ Rich Feature Set includes:
   - Very High Performance.
     Our extensive benchmarks show us outperforming Gob, Json, Bson, etc by 2-4X.
   - Careful selected use of 'unsafe' for targeted performance gains.
-    100% mode exists where 'unsafe' is not used at all.
+  - 100% safe mode supported, where 'unsafe' is not used at all.
   - Lock-free (sans mutex) concurrency for scaling to 100's of cores
   - In-place updates during decode, with option to zero value in maps and slices prior to decode
   - Coerce types where appropriate

+ 1 - 1
codec/doc.go

@@ -31,7 +31,7 @@ Rich Feature Set includes:
   - Very High Performance.
     Our extensive benchmarks show us outperforming Gob, Json, Bson, etc by 2-4X.
   - Careful selected use of 'unsafe' for targeted performance gains.
-    100% mode exists where 'unsafe' is not used at all.
+  - 100% safe mode supported, where 'unsafe' is not used at all.
   - Lock-free (sans mutex) concurrency for scaling to 100's of cores
   - In-place updates during decode, with option to zero value in maps and slices prior to decode
   - Coerce types where appropriate

+ 1 - 1
codec/helper.go

@@ -500,7 +500,7 @@ var immutableKindsSet = [32]bool{
 
 // SelfExt is a sentinel extension signifying that types
 // registered with it SHOULD be encoded and decoded
-// based on the naive mode of the format.
+// based on the native mode of the format.
 //
 // This allows users to define a tag for an extension,
 // but signify that the types should be encoded/decoded as the native encoding.