We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35fb8bb commit 02a432fCopy full SHA for 02a432f
1 file changed
ext/hyper_ruby/src/request.rs
@@ -53,7 +53,7 @@ impl Request {
53
let inner: VALUE = std::ptr::read(&rb_value as *const _ as *const VALUE);
54
rb_str_resize(inner, 0);
55
if body_len > 0 {
56
- rb_str_cat(inner, body.as_ptr() as *const i8, body.len().try_into().unwrap());
+ rb_str_cat(inner, body.as_ptr(), body.len().try_into().unwrap());
57
}
58
59
0 commit comments