Skip to content

Commit c7b5e9b

Browse files
committed
clippy
1 parent 9f9590a commit c7b5e9b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/iceberg/src/avro/schema.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
// under the License.
1717

1818
//! Conversion between iceberg and avro schema.
19-
use std::any::Any;
2019
use std::collections::BTreeMap;
2120

2221
use apache_avro::Schema as AvroSchema;
@@ -28,7 +27,7 @@ use itertools::{Either, Itertools};
2827
use serde_json::{Number, Value};
2928

3029
use crate::spec::{
31-
Datum, ListType, MapType, NestedField, NestedFieldRef, PrimitiveType, RawLiteral, Schema,
30+
ListType, MapType, NestedField, NestedFieldRef, PrimitiveType, RawLiteral, Schema,
3231
SchemaVisitor, StructType, Type, visit_schema,
3332
};
3433
use crate::{Error, ErrorKind, Result, ensure_data_valid};
@@ -105,7 +104,7 @@ impl SchemaVisitor for SchemaToAvroSchema {
105104
position: 0,
106105
doc: field.doc.clone(),
107106
aliases: None,
108-
default: default,
107+
default,
109108
custom_attributes: Default::default(),
110109
};
111110

0 commit comments

Comments
 (0)