From 8dd0d0767446c01ea8071502811873731ac9a346 Mon Sep 17 00:00:00 2001 From: Steven Johnson Date: Thu, 7 Nov 2024 12:42:55 +0700 Subject: [PATCH] fix(docs): Poem can use doc attributes to cause Schema docs to come from the type. --- earthly/rust/stdcfgs/rustfmt.toml | 2 +- examples/rust/rustfmt.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/earthly/rust/stdcfgs/rustfmt.toml b/earthly/rust/stdcfgs/rustfmt.toml index b0f20832c..905bde2d0 100644 --- a/earthly/rust/stdcfgs/rustfmt.toml +++ b/earthly/rust/stdcfgs/rustfmt.toml @@ -36,7 +36,7 @@ max_width = 100 # Comments: normalize_comments = true -normalize_doc_attributes = true +normalize_doc_attributes = false wrap_comments = true comment_width = 90 # small excess is okay but prefer 80 format_code_in_doc_comments = true diff --git a/examples/rust/rustfmt.toml b/examples/rust/rustfmt.toml index b0f20832c..905bde2d0 100644 --- a/examples/rust/rustfmt.toml +++ b/examples/rust/rustfmt.toml @@ -36,7 +36,7 @@ max_width = 100 # Comments: normalize_comments = true -normalize_doc_attributes = true +normalize_doc_attributes = false wrap_comments = true comment_width = 90 # small excess is okay but prefer 80 format_code_in_doc_comments = true