summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-11 04:49:33 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-11 04:49:33 +0000
commited0736ddda65c9914f6f5f08fef22e1f76263d8c (patch)
tree6656a7dd4364c0f58c220f1413a29da10782da01 /sprintf.c
parent84247a63cecc6837febe358c4394e1752879697f (diff)
* sprintf.c: Fix typo patch by @hynkle [Fixes GH-357]
https://github.com/ruby/ruby/pull/357 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sprintf.c b/sprintf.c
index b66d34e055..09876bf812 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -401,7 +401,7 @@ get_hash(volatile VALUE *hash, int argc, const 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 })