actix / actix/actix-web

Change `HttpRequest::content_type` to return `Option<&str>`

オープン
#3,797 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
24.8k
フォーク
1.9k
平均マージ
23時間 10分
マージ済み PR(30日)
26

説明

There's not really any need for it to return an empty &str and `Option<&str>` is more idiomatic.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。