summaryrefslogtreecommitdiff
path: root/include/ruby/internal/symbol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/internal/symbol.h')
-rw-r--r--include/ruby/internal/symbol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/symbol.h b/include/ruby/internal/symbol.h
index 7371d32408..9b863d090e 100644
--- a/include/ruby/internal/symbol.h
+++ b/include/ruby/internal/symbol.h
@@ -203,7 +203,7 @@ VALUE rb_id2str(ID id);
/**
* Obtain a frozen string representation of a symbol (not including the leading
- * colon). Done without any object allcoations.
+ * colon). Done without any object allocations.
*
* @param[in] symbol A ::rb_cSymbol instance to query.
* @return A frozen instance of ::rb_cString with the name of `symbol`.