alexcrichton / alexcrichton/curl-rust
`Easy2::post_field_size` takes `size` as `u64` instead of `usize`
オープン
- 主要言語
- Rust
- スター
- 1.1k
- フォーク
- 258
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi Alex,
Thanks for all your great work on curl-rust. Extremely useful to use Easy/Easy2 safe wrappers.
I just noticed that [`Easy2::post_field_size`](https://docs.rs/curl/0.4.47/curl/easy/struct.Easy2.html#method.post_field_size) takes `size` as `u64` instead of `usize`. Typically Rust's `.len()` functions output `usize`, and typically we send a &str or String whose length we have to convert to as u64 to pass to this function in curl-rust.
Is there an issue in taking in `usize`?
Thanks,
~Sankar
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。