summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
-rw-r--r--sprintf.c2
1 files changed, 1 insertions, 1 deletions
@@ -633,7 +633,7 @@ rb_str_format(int argc, const VALUE *argv, VALUE fmt)
}
nextvalue = rb_hash_default_value(hash, sym);
if (NIL_P(nextvalue)) {
- rb_enc_raise(enc, rb_eKeyError, "key%.*s not found", len, start);
}
}
if (term == '}') goto format_s;