You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Format examples in doc strings - datasource crates (#18338)
## Which issue does this PR close?
Part of #16915
## Rationale for this change
Format code examples in documentation comments to improve readability
and maintain consistent code style across the codebase. This is part of
a multi-PR effort to format all doc comment examples and eventually
enable CI checks to enforce this formatting.
## What changes are included in this PR?
Run `cargo fmt -p <crate> -- --config format_code_in_doc_comments=true`
for the following datasource-related crates:
- `datafusion-datasource`
- `datafusion-datasource-arrow`
- `datafusion-datasource-avro`
- `datafusion-datasource-csv`
- `datafusion-datasource-json`
- `datafusion-datasource-parquet`
## Are these changes tested?
No testing needed - this is purely a formatting change with no
functional modifications.
## Are there any user-facing changes?
No - this only affects documentation formatting.
---------
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Copy file name to clipboardExpand all lines: datafusion/datasource/src/mod.rs
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -310,7 +310,6 @@ pub async fn calculate_range(
310
310
/// Returns a `Result` wrapping a `usize` that represents the position of the first newline character found within the specified range. If no newline is found, it returns the length of the scanned data, effectively indicating the end of the range.
311
311
///
312
312
/// The function returns an `Error` if any issues arise while reading from the object store or processing the data stream.
0 commit comments