summaryrefslogtreecommitdiff
path: root/ext/digest
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-20 07:57:31 (GMT)
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-20 07:57:31 (GMT)
commit10035cb4bc6c423189c631a183e749e9d7b8d4ef (patch)
tree6b82d0a978648f7078a755cb78827351b597e3f3 /ext/digest
parent814c1adec7d20b74b9499cb2c1b37e12b1b04681 (diff)
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest')
-rw-r--r--ext/digest/digest.c4
-rw-r--r--ext/digest/md5/md5init.c2
-rw-r--r--ext/digest/rmd160/rmd160init.c2
-rw-r--r--ext/digest/sha1/sha1init.c2
-rw-r--r--ext/digest/sha2/lib/sha2.rb8
5 files changed, 9 insertions, 9 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c
index a6d6265..9838ed3 100644
--- a/ext/digest/digest.c
+++ b/ext/digest/digest.c
@@ -509,7 +509,7 @@ rb_digest_class_init(VALUE self)
* typedef int (*rb_digest_hash_init_func_t)(void *);
* typedef void (*rb_digest_hash_update_func_t)(void *, unsigned char *, size_t);
* typedef int (*rb_digest_hash_finish_func_t)(void *, unsigned char *);
- *
+ *
* typedef struct {
* int api_version;
* size_t digest_len;
@@ -651,7 +651,7 @@ rb_digest_base_reset(VALUE self)
}
/*
- * call-seq:
+ * call-seq:
* digest_base.update(string) -> digest_base
* digest_base << string -> digest_base
*
diff --git a/ext/digest/md5/md5init.c b/ext/digest/md5/md5init.c
index 41f966fa..6bb7cd8 100644
--- a/ext/digest/md5/md5init.c
+++ b/ext/digest/md5/md5init.c
@@ -31,7 +31,7 @@ static const rb_digest_metadata_t md5 = {
*
* == Examples
* require 'digest'
- *
+ *
* # Compute a complete digest
* Digest::MD5.hexdigest 'abc' #=> "90015098..."
*
diff --git a/ext/digest/rmd160/rmd160init.c b/ext/digest/rmd160/rmd160init.c
index fbd6d5a..10d9370 100644
--- a/ext/digest/rmd160/rmd160init.c
+++ b/ext/digest/rmd160/rmd160init.c
@@ -29,7 +29,7 @@ static const rb_digest_metadata_t rmd160 = {
*
* == Examples
* require 'digest'
- *
+ *
* # Compute a complete digest
* Digest::RMD160.hexdigest 'abc' #=> "8eb208f7..."
*
diff --git a/ext/digest/sha1/sha1init.c b/ext/digest/sha1/sha1init.c
index 44dda3f..e12d297 100644
--- a/ext/digest/sha1/sha1init.c
+++ b/ext/digest/sha1/sha1init.c
@@ -33,7 +33,7 @@ static const rb_digest_metadata_t sha1 = {
*
* == Examples
* require 'digest'
- *
+ *
* # Compute a complete digest
* Digest::SHA1.hexdigest 'abc' #=> "a9993e36..."
*
diff --git a/ext/digest/sha2/lib/sha2.rb b/ext/digest/sha2/lib/sha2.rb
index e5a44ff..61a0734 100644
--- a/ext/digest/sha2/lib/sha2.rb
+++ b/ext/digest/sha2/lib/sha2.rb
@@ -28,18 +28,18 @@ module Digest
#
# ==Examples
# require 'digest'
- #
+ #
# # Compute a complete digest
# Digest::SHA2.hexdigest 'abc' # => "ba7816bf8..."
# Digest::SHA2.new(256).hexdigest 'abc' # => "ba7816bf8..."
# Digest::SHA256.hexdigest 'abc' # => "ba7816bf8..."
- #
+ #
# Digest::SHA2.new(384).hexdigest 'abc' # => "cb00753f4..."
# Digest::SHA384.hexdigest 'abc' # => "cb00753f4..."
- #
+ #
# Digest::SHA2.new(512).hexdigest 'abc' # => "ddaf35a19..."
# Digest::SHA512.hexdigest 'abc' # => "ddaf35a19..."
- #
+ #
# # Compute digest by chunks
# sha2 = Digest::SHA2.new # =>#<Digest::SHA2:256>
# sha2.update "ab"