Skip to content

Commit 5e26b13

Browse files
authored
fix ci (#2821)
1 parent 379f42c commit 5e26b13

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎datafusion/core/src/config.rs‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ impl BuiltInConfigs {
144144

145145
/// Generate documentation that can be included int he user guide
146146
pub fn generate_config_markdown() -> String {
147+
use std::fmt::Write as _;
147148
let configs = Self::new();
148149
let mut docs = "| key | type | default | description |\n".to_string();
149150
docs += "|-----|------|---------|-------------|\n";
@@ -152,8 +153,9 @@ impl BuiltInConfigs {
152153
.iter()
153154
.sorted_by_key(|c| c.key.as_str())
154155
{
155-
docs += &format!(
156-
"| {} | {} | {} | {} |\n",
156+
let _ = writeln!(
157+
&mut docs,
158+
"| {} | {} | {} | {} |",
157159
config.key, config.data_type, config.default_value, config.description
158160
);
159161
}

0 commit comments

Comments
 (0)