Skip to content

Commit 4845f1f

Browse files
committed
fix: address new clippy::needless_question_mark
from nightly
1 parent 656133f commit 4845f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/media_type_proposal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl MediaTypeProposal {
5757
.remove_param("q")
5858
.map(|param| param.as_str().parse())
5959
.transpose()?;
60-
Ok(Self::new(media_type, weight)?)
60+
Self::new(media_type, weight)
6161
}
6262
}
6363

0 commit comments

Comments
 (0)