Skip to content

Commit

Permalink
fix doc ci in latest rust nightly version (#6012)
Browse files Browse the repository at this point in the history
* allow rustdoc::unportable_markdown in arrow-flight.

* fix doc in sql_info.rs.

* reduce scope of lint disable

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
  • Loading branch information
Rachelint and alamb committed Jul 6, 2024
1 parent a85768d commit b9562b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arrow-flight/src/sql/metadata/sql_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ impl SqlInfoName for u32 {
/// * int32_to_int32_list_map: map<key: int32, value: list<$data$: int32>>
/// * >
/// ```
///[flightsql]: (https://github.com/apache/arrow/blob/f9324b79bf4fc1ec7e97b32e3cce16e75ef0f5e3/format/FlightSql.proto#L32-L43
///[flightsql]: https://github.com/apache/arrow/blob/f9324b79bf4fc1ec7e97b32e3cce16e75ef0f5e3/format/FlightSql.proto#L32-L43
///[Union Spec]: https://arrow.apache.org/docs/format/Columnar.html#dense-union
struct SqlInfoUnionBuilder {
// Values for each child type
Expand Down Expand Up @@ -361,7 +361,7 @@ impl SqlInfoDataBuilder {

/// Encode the contents of this list according to the [FlightSQL spec]
///
/// [FlightSQL spec]: (https://github.com/apache/arrow/blob/f9324b79bf4fc1ec7e97b32e3cce16e75ef0f5e3/format/FlightSql.proto#L32-L43
/// [FlightSQL spec]: https://github.com/apache/arrow/blob/f9324b79bf4fc1ec7e97b32e3cce16e75ef0f5e3/format/FlightSql.proto#L32-L43
pub fn build(self) -> Result<SqlInfoData> {
let mut name_builder = UInt32Builder::new();
let mut value_builder = SqlInfoUnionBuilder::new();
Expand Down
1 change: 1 addition & 0 deletions arrow-flight/src/sql/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ use prost::Message;

mod gen {
#![allow(clippy::all)]
#![allow(rustdoc::unportable_markdown)]
include!("arrow.flight.protocol.sql.rs");
}

Expand Down

0 comments on commit b9562b9

Please sign in to comment.