summaryrefslogtreecommitdiff
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
commit3863e54bbf9777d9d929b59ed1d5f183ab960ff0 (patch)
tree4c4ca6a90ed03cae3b492c122437739b221c15ea
parentf2198d896ea392a719a52334e7f0b97975fab14b (diff)
describe %% in rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--sprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sprintf.c b/sprintf.c
index 9253820f75..57e1cbb681 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: