Skip to content

Commit 711a3a5

Browse files
committed
chore: clippy fixes
1 parent 9d58590 commit 711a3a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arrow-avro/src/reader/record.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,10 +1378,10 @@ impl ResolutionPlan {
13781378
(_, ResolutionInfo::Promotion(p)) => Ok(ResolutionPlan::Promotion(*p)),
13791379
(_, ResolutionInfo::DefaultValue(lit)) => Ok(ResolutionPlan::DefaultValue(lit.clone())),
13801380
(_, ResolutionInfo::EnumMapping(m)) => {
1381-
Ok(ResolutionPlan::EnumMapping(EnumResolution::new(&m)))
1381+
Ok(ResolutionPlan::EnumMapping(EnumResolution::new(m)))
13821382
}
13831383
(Decoder::Record(_, _, field_defaults, _), ResolutionInfo::Record(r)) => Ok(
1384-
ResolutionPlan::Record(ProjectorBuilder::try_new(&r, &field_defaults).build()?),
1384+
ResolutionPlan::Record(ProjectorBuilder::try_new(r, field_defaults).build()?),
13851385
),
13861386
(_, ResolutionInfo::Record(_)) => {
13871387
unreachable!("record resolution on non-record decoder")

0 commit comments

Comments
 (0)