Просмотр исходного кода

Fixed typos in docstrings (#179).

Joe Farrell 8 лет назад
Родитель
Сommit
7c97801ccf
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      apic.go
  2. 1 1
      emitterc.go

+ 1 - 1
apic.go

@@ -468,7 +468,7 @@ func yaml_event_delete(event *yaml_event_t) {
 //    } context
 //    tag_directive *yaml_tag_directive_t
 //
-//    context.error = YAML_NO_ERROR // Eliminate a compliler warning.
+//    context.error = YAML_NO_ERROR // Eliminate a compiler warning.
 //
 //    assert(document) // Non-NULL document object is expected.
 //

+ 1 - 1
emitterc.go

@@ -843,7 +843,7 @@ func yaml_emitter_select_scalar_style(emitter *yaml_emitter_t, event *yaml_event
 	return true
 }
 
-// Write an achor.
+// Write an anchor.
 func yaml_emitter_process_anchor(emitter *yaml_emitter_t) bool {
 	if emitter.anchor_data.anchor == nil {
 		return true