diff options
-rw-r--r-- | ext/psych/yaml/emitter.c | 2 | ||||
-rw-r--r-- | lib/psych/handler.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/psych/yaml/emitter.c b/ext/psych/yaml/emitter.c index 580a8d2..f59c085 100644 --- a/ext/psych/yaml/emitter.c +++ b/ext/psych/yaml/emitter.c @@ -1234,7 +1234,7 @@ yaml_emitter_select_scalar_style(yaml_emitter_t *emitter, yaml_event_t *event) } /* - * Write an achor. + * Write an anchor. */ static int diff --git a/lib/psych/handler.rb b/lib/psych/handler.rb index 84a3b4f..8f23e36 100644 --- a/lib/psych/handler.rb +++ b/lib/psych/handler.rb @@ -105,7 +105,7 @@ module Psych # - first element # - *ponies # - # &ponies is the achor, *ponies is the alias. In this case, alias is + # &ponies is the anchor, *ponies is the alias. In this case, alias is # called with "ponies". def alias anchor end |