diff --git a/ext/libxml/ruby_xml_xpath_expression.c b/ext/libxml/ruby_xml_xpath_expression.c
index 8e3888d6..976fdb10 100644
--- a/ext/libxml/ruby_xml_xpath_expression.c
+++ b/ext/libxml/ruby_xml_xpath_expression.c
@@ -35,7 +35,7 @@ static VALUE rxml_xpath_expression_alloc(VALUE klass)
/* call-seq:
* XPath::Expression.compile(expression) -> XPath::Expression
*
- * Compiles an XPatch expression. This improves performance
+ * Compiles an XPath expression. This improves performance
* when an XPath expression is called multiple times.
*
* doc = XML::Document.string('')
@@ -51,7 +51,7 @@ static VALUE rxml_xpath_expression_compile(VALUE klass, VALUE expression)
/* call-seq:
* XPath::Expression.new(expression) -> XPath::Expression
*
- * Compiles an XPatch expression. This improves performance
+ * Compiles an XPath expression. This improves performance
* when an XPath expression is called multiple times.
*
* doc = XML::Document.string('')