forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-11179: [Format] Make FB comments friendly to rust
### Problem Currently, comments in FB files are directly copied to rust and c++ source codes. That's great but `rust` suffers from the generated codes, for example: - array element `abc[1]` or link label `[smith2017knl]` causes `broken intra doc links` warning - example code/figure blocks are flatten into one line, see [arrow 2.0.0 doc](https://docs.rs/arrow/2.0.0/arrow/ipc/gen/SparseTensor/struct.SparseTensorIndexCSF.html#method.indptrType) The above problems may lead to failures or warnings when run `rust test --doc` or `rust doc`. So the generated `.rs` files have to be manually modified to fix the above problems. ### This PR This PR changed three FB files by formatting some comments to make them friendly to rust. Closes apache#9299 from mqy/fb-comments Authored-by: mqy <[email protected]> Signed-off-by: Micah Kornfield <[email protected]>
- Loading branch information
1 parent
f58f29d
commit dfaa215
Showing
3 changed files
with
31 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters