Skip to content

Commit

Permalink
Apply cargo fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarutak committed Jul 23, 2023
1 parent 136fced commit 2711f08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lang/rust/avro/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ impl Name {

Ok(Self {
name: type_name.unwrap_or(name),
namespace: namespace_from_name.or_else(|| complex.string("namespace").filter(|ns| !ns.is_empty())),
namespace: namespace_from_name
.or_else(|| complex.string("namespace").filter(|ns| !ns.is_empty())),
})
}

Expand Down

0 comments on commit 2711f08

Please sign in to comment.