summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sprintf
diff options
context:
space:
mode:
authorJohn Bampton <[email protected]>2020-12-13 17:26:24 +1000
committerJohn Bampton <[email protected]>2020-12-13 18:38:22 +1000
commit940dec5e7df1c4c7ec131073bd364ddd59d4b48c (patch)
tree77b0097e93d105368890ab0611801225e72f7ec6 /mrbgems/mruby-sprintf
parent116e128b1a103e2fb246cc9d53b82246b24dbd40 (diff)
downloadmruby-940dec5e7df1c4c7ec131073bd364ddd59d4b48c.tar.gz
mruby-940dec5e7df1c4c7ec131073bd364ddd59d4b48c.zip
Fix spelling
Diffstat (limited to 'mrbgems/mruby-sprintf')
-rw-r--r--mrbgems/mruby-sprintf/src/sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c
index b10db8547..97e821c2f 100644
--- a/mrbgems/mruby-sprintf/src/sprintf.c
+++ b/mrbgems/mruby-sprintf/src/sprintf.c
@@ -506,7 +506,7 @@ get_hash(mrb_state *mrb, mrb_value *hash, mrb_int argc, const mrb_value *argv)
* For more complex formatting, Ruby supports a reference by name.
* %<name>s style uses format style, but %{name} style doesn't.
*
- * Exapmles:
+ * Examples:
* sprintf("%<foo>d : %<bar>f", { :foo => 1, :bar => 2 })
* #=> 1 : 2.000000
* sprintf("%{foo}f", { :foo => 1 })