This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new b9562b9550 fix doc ci in latest rust nightly version (#6012)
b9562b9550 is described below
commit b9562b9550b8ff4aa7be9859e56e467b1a3b3de6
Author: kamille <[email protected]>
AuthorDate: Sat Jul 6 20:49:32 2024 +0800
fix doc ci in latest rust nightly version (#6012)
* allow rustdoc::unportable_markdown in arrow-flight.
* fix doc in sql_info.rs.
* reduce scope of lint disable
---------
Co-authored-by: Andrew Lamb <[email protected]>
---
arrow-flight/src/sql/metadata/sql_info.rs | 4 ++--
arrow-flight/src/sql/mod.rs | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arrow-flight/src/sql/metadata/sql_info.rs
b/arrow-flight/src/sql/metadata/sql_info.rs
index d4584f4a68..97304d3c87 100644
--- a/arrow-flight/src/sql/metadata/sql_info.rs
+++ b/arrow-flight/src/sql/metadata/sql_info.rs
@@ -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
@@ -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();
diff --git a/arrow-flight/src/sql/mod.rs b/arrow-flight/src/sql/mod.rs
index 089ee4dd8c..b3b9882ee0 100644
--- a/arrow-flight/src/sql/mod.rs
+++ b/arrow-flight/src/sql/mod.rs
@@ -45,6 +45,7 @@ use prost::Message;
mod gen {
#![allow(clippy::all)]
+ #![allow(rustdoc::unportable_markdown)]
include!("arrow.flight.protocol.sql.rs");
}