From 7c97801ccf41d5273de9e22c8b2af6860c7703a2 Mon Sep 17 00:00:00 2001 From: Joe Farrell Date: Mon, 26 Mar 2018 06:44:38 +0100 Subject: [PATCH] Fixed typos in docstrings (#179). --- apic.go | 2 +- emitterc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apic.go b/apic.go index 3e24a0d7..1f7e87e6 100644 --- a/apic.go +++ b/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. // diff --git a/emitterc.go b/emitterc.go index cf0db118..a1c2cc52 100644 --- a/emitterc.go +++ b/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