summaryrefslogtreecommitdiffstats
path: root/sprintf.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-10 23:21:26 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-10 23:21:26 +0000
commit2ca347947e72db0010d1d7e87003c182d1d0eff6 (patch)
tree4c4ca6a90ed03cae3b492c122437739b221c15ea /sprintf.c
parent3f73377621a8510359d65362d9579db324234540 (diff)
downloadruby-2ca347947e72db0010d1d7e87003c182d1d0eff6.tar.gz
ruby-2ca347947e72db0010d1d7e87003c182d1d0eff6.tar.xz
ruby-2ca347947e72db0010d1d7e87003c182d1d0eff6.zip
describe %% in rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sprintf.c b/sprintf.c
index 9253820f7..57e1cbb68 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -204,6 +204,7 @@ sign_bits(int base, const char *p)
* s | Argument is a string to be substituted. If the format
* | sequence contains a precision, at most that many characters
* | will be copied.
+ * % | A percent sign itself will be displayed. No argument taken.
*
* The flags modifies the behavior of the formats.
* The flag characters are: