Skip to content

Commit

Permalink
Format Rust code using rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 29, 2023
1 parent baee8ad commit f97fb0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/serde/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl<'de> RequestDeserializer<'de> {
fn real_parser(&self, source: &Source) -> SourceParser {
let mut parser = source.parser;
if parser == SourceParser::Smart {
if source.from == SourceFrom::Body {
if source.from == SourceFrom::Body {
if let Some(payload) = &self.payload {
if payload.is_json_map() || payload.is_json_str() {
parser = SourceParser::Json;
Expand Down

0 comments on commit f97fb0e

Please sign in to comment.