aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 13f4ce4e0d..fac00856b3 100644
--- a/string.c
+++ b/string.c
@@ -1233,7 +1233,7 @@ str_replace(VALUE str, VALUE str2)
return str;
}
-static VALUE
+static inline VALUE
str_duplicate(VALUE klass, VALUE str)
{
enum {embed_size = RSTRING_EMBED_LEN_MAX + 1};