Skip to content

Commit

Permalink
Fix docs testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Folyd committed Oct 21, 2023
1 parent 28145e6 commit e72e635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-schema/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ impl Schema {
/// Field::new("c", DataType::Utf8, false),
/// ]);
/// assert_eq!(schema.fields.len(), 3);
/// assert_eq!(schema.remove_field("b").unwrap(), Field::new("b", DataType::Int8, false).into());
/// assert_eq!(schema.remove_field_with_name("b").unwrap(), Field::new("b", DataType::Int8, false).into());
/// assert_eq!(schema.fields.len(), 2);
/// ```
pub fn remove_field_with_name(&mut self, name: &str) -> Option<FieldRef> {
Expand Down

0 comments on commit e72e635

Please sign in to comment.