Skip to content

Commit

Permalink
Fixed typos in docstrings (go-yaml#179).
Browse files Browse the repository at this point in the history
  • Loading branch information
joe2far authored and niemeyer committed Mar 26, 2018
1 parent 86f5ed6 commit 7c97801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apic.go
Expand Up @@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion emitterc.go
Expand Up @@ -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
Expand Down

0 comments on commit 7c97801

Please sign in to comment.