summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/zlib/doc/zlib.rd2
-rw-r--r--ext/zlib/zlib.c2
-rw-r--r--lib/irb/slex.rb4
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/zlib/doc/zlib.rd b/ext/zlib/doc/zlib.rd
index 6adff7f89c..6a36dc7fed 100644
--- a/ext/zlib/doc/zlib.rd
+++ b/ext/zlib/doc/zlib.rd
@@ -465,7 +465,7 @@ to duplicate (clone, dup) itself.
== Zlib::GzipFile
-The abstruct class for handling a gzip formatted compressed file.
+The abstract class for handling a gzip formatted compressed file.
The operations are defined in the subclasses,
((<Zlib::GzipReader>)) for reading, and ((<Zlib::GzipWriter>))
for writing.
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 0ad5d4cfde..db2ba0d296 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -2239,7 +2239,7 @@ get_gzfile(obj)
/*
* Document-class: Zlib::GzipFile
*
- * Zlib::GzipFile is an abstruct class for handling a gzip formatted
+ * Zlib::GzipFile is an abstract class for handling a gzip formatted
* compressed file. The operations are defined in the subclasses,
* Zlib::GzipReader for reading, and Zlib::GzipWriter for writing.
*
diff --git a/lib/irb/slex.rb b/lib/irb/slex.rb
index ceee90b3d9..c0943f6e33 100644
--- a/lib/irb/slex.rb
+++ b/lib/irb/slex.rb
@@ -119,7 +119,7 @@ class SLex
p node
SLex.fail ErrNodeAlreadyExists
else
- print "Warn: change abstruct node to real node\n" if SLex.debug?
+ print "Warn: change abstract node to real node\n" if SLex.debug?
@preproc = preproc
@postproc = postproc
end
@@ -136,7 +136,7 @@ class SLex
p chrs
SLex.fail ErrNodeAlreadyExists
else
- print "Warn: change abstruct node to real node\n" if SLex.debug?
+ print "Warn: change abstract node to real node\n" if SLex.debug?
node.preproc = preproc
node.postproc = postproc
end