From e366d833d0982def3529d974329f9353f0f1c448 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Tue, 7 Mar 2023 10:14:26 +0100 Subject: [PATCH] Update mdbook to 0.4.28 (#480) * 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. * Fix formatting in Korean translation The extra code block made `mdbook test` fail. --- .github/workflows/install-mdbook/action.yml | 2 +- po/ko.po | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/install-mdbook/action.yml b/.github/workflows/install-mdbook/action.yml index 7723786e..922bdd0d 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 diff --git a/po/ko.po b/po/ko.po index 12587bbc..51d15c3a 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 ""