summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-13 15:18:40 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-13 15:18:40 +0000
commit896af106070c9da72f45bf16b47c6641a6fdbc62 (patch)
treeb41c4eb768ebdc3595ea029a74feb1e0d9ff7dba /sprintf.c
parent0b92f561419a3dc0c6d369bfd640fae398902073 (diff)
merge revision(s) 41915:
* 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/branches/ruby_2_0_0@41958 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 7a4f1e5794..9443c69925 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -422,7 +422,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 })