Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhickman committed Jan 13, 2025
1 parent ed9f99e commit db72882
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions prost-reflect/src/reflect/wkt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4567,7 +4567,9 @@ impl_reflect_message! {
fn compare_parsed_and_coded_default_descriptors() {
use prost::Message;

let desc = crate::descriptor::types::FileDescriptorSet::decode(expected_well_known_types().as_slice()).unwrap();
let desc =
crate::descriptor::types::FileDescriptorSet::decode(expected_well_known_types().as_slice())
.unwrap();
let built_in_desc = make_descriptor();

if desc != built_in_desc {
Expand Down Expand Up @@ -4599,7 +4601,7 @@ fn compare_parsed_and_coded_default_descriptors() {

#[cfg(test)]
fn expected_well_known_types() -> Vec<u8> {
use protox::{Compiler, file::GoogleFileResolver};
use protox::{file::GoogleFileResolver, Compiler};

// protox can output a FileDescriptorSet directly, but by going through bytes, this should still work
// when upgrading to a newer prost-types version.
Expand Down

0 comments on commit db72882

Please sign in to comment.