From 10035cb4bc6c423189c631a183e749e9d7b8d4ef Mon Sep 17 00:00:00 2001 From: svn Date: Thu, 20 Oct 2016 07:57:31 +0000 Subject: * remove trailing spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/digest/digest.c | 4 ++-- ext/digest/md5/md5init.c | 2 +- ext/digest/rmd160/rmd160init.c | 2 +- ext/digest/sha1/sha1init.c | 2 +- ext/digest/sha2/lib/sha2.rb | 8 ++++---- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'ext/digest') diff --git a/ext/digest/digest.c b/ext/digest/digest.c index a6d6265249..9838ed33de 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 41f966fa7b..6bb7cd82c9 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 fbd6d5a938..10d9370163 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 44dda3f9fa..e12d297699 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 e5a44ff0d4..61a0734850 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 # =># # sha2.update "ab" -- cgit v1.2.3