From 478716f49a19cdd86f629c6a0673c1ff53630c96 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 7 Feb 2021 21:01:43 +0900 Subject: [PATCH] [DOC] refined * Adjusted indentation in license section, and used "(c)" * Commented out invalid syntax to enable highlighting * Removed unnecessary parentheses --- ext/pty/pty.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ext/pty/pty.c b/ext/pty/pty.c index d927adc560..0e46c72dc0 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -464,7 +464,7 @@ pty_close_pty(VALUE assoc) /* * call-seq: * PTY.open => [master_io, slave_file] - * PTY.open {|(master_io, slave_file)| ... } => block value + * PTY.open {|master_io, slave_file| ... } => block value * * Allocates a pty (pseudo-terminal). * @@ -497,7 +497,7 @@ pty_close_pty(VALUE assoc) * require 'io/console' * PTY.open {|m, s| * s.raw! - * ... + * # ... * } * */ @@ -737,16 +737,16 @@ static VALUE cPTY; * * == License * - * C) Copyright 1998 by Akinori Ito. + * (c) Copyright 1998 by Akinori Ito. * - * This software may be redistributed freely for this purpose, in full - * or in part, provided that this entire copyright notice is included - * on any copies of this software and applications and derivations thereof. + * This software may be redistributed freely for this purpose, in full + * or in part, provided that this entire copyright notice is included + * on any copies of this software and applications and derivations thereof. * - * This software is provided on an "as is" basis, without warranty of any - * kind, either expressed or implied, as to any matter including, but not - * limited to warranty of fitness of purpose, or merchantability, or - * results obtained from use of this software. + * This software is provided on an "as is" basis, without warranty of any + * kind, either expressed or implied, as to any matter including, but not + * limited to warranty of fitness of purpose, or merchantability, or + * results obtained from use of this software. */ void