Skip to content

Commit e3e3c55

Browse files
committed
fix test
1 parent 76150b2 commit e3e3c55

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

datafusion/common/src/dfschema.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ pub struct DFSchema {
125125
}
126126

127127
impl fmt::Debug for DFSchema {
128-
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
128+
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
129129
// Show the ambiguous-names set as `{}` when it is empty/absent so that
130130
// existing Debug snapshots are not affected by the Option wrapper.
131131
let empty = HashSet::new();
@@ -1281,7 +1281,7 @@ impl ToDFSchema for Vec<Field> {
12811281
}
12821282

12831283
impl Display for DFSchema {
1284-
fn fmt(&self, f: &mut Formatter) -> std::fmt::Result {
1284+
fn fmt(&self, f: &mut Formatter) -> fmt::Result {
12851285
write!(
12861286
f,
12871287
"fields:[{}], metadata:{:?}",
@@ -1299,7 +1299,7 @@ impl Display for DFSchema {
12991299
///
13001300
/// Note that this trait is implemented for &[DFSchema] which is
13011301
/// widely used in the DataFusion codebase.
1302-
pub trait ExprSchema: std::fmt::Debug {
1302+
pub trait ExprSchema: fmt::Debug {
13031303
/// Is this column reference nullable?
13041304
fn nullable(&self, col: &Column) -> Result<bool> {
13051305
Ok(self.field_from_column(col)?.is_nullable())
@@ -1326,7 +1326,7 @@ pub trait ExprSchema: std::fmt::Debug {
13261326
}
13271327

13281328
// Implement `ExprSchema` for `Arc<DFSchema>`
1329-
impl<P: AsRef<DFSchema> + std::fmt::Debug> ExprSchema for P {
1329+
impl<P: AsRef<DFSchema> + fmt::Debug> ExprSchema for P {
13301330
fn nullable(&self, col: &Column) -> Result<bool> {
13311331
self.as_ref().nullable(col)
13321332
}

0 commit comments

Comments
 (0)