From a979ee71a486cfa24570de09ab412a1785939301 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Mon, 6 Mar 2023 23:55:03 +0100 Subject: [PATCH 1/2] Update mdbook to 0.4.28 This version contains https://github.com/rust-lang/mdBook/pull/1986 which will allow us to test the code in each translation. --- .github/workflows/install-mdbook/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install-mdbook/action.yml b/.github/workflows/install-mdbook/action.yml index 7723786e5300..922bdd0d5037 100644 --- a/.github/workflows/install-mdbook/action.yml +++ b/.github/workflows/install-mdbook/action.yml @@ -8,7 +8,7 @@ runs: # The --locked flag is important for reproducible builds. It also # avoids breakage due to skews between mdbook and mdbook-svgbob. - name: Install mdbook - run: cargo install mdbook --locked --version 0.4.25 + run: cargo install mdbook --locked --version 0.4.28 shell: bash - name: Install mdbook-svgbob From b178ad32987fdd6200a2343b9acce0d5bbef0c68 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Tue, 7 Mar 2023 00:16:12 +0100 Subject: [PATCH 2/2] Fix formatting in Korean translation The extra code block made `mdbook test` fail. --- po/ko.po | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/po/ko.po b/po/ko.po index 12587bbcc114..51d15c3a0fe8 100644 --- a/po/ko.po +++ b/po/ko.po @@ -8273,12 +8273,10 @@ msgid "" " Self: Sized`" msgstr "" "`Iterator`는 아래와 같이 구현됩니다.\n" -"```\n" -"fn collect(self) -> B\n" +"`fn collect(self) -> B\n" "where\n" " B: FromIterator,\n" -" Self: Sized\n" -"```" +" Self: Sized`" #: src/traits/from-iterator.md:23 msgid ""