@@ -16185,11 +16185,11 @@ msgid ""
1618516185"///\n"
1618616186"/// The next lines present detailed documentation. Code blocks start with\n"
1618716187"/// triple backquotes and have implicit `fn main()` inside\n"
16188- "/// and `extern crate <cratename>`. Assume we're testing `doccomments` "
16189- "crate:\n"
16188+ "/// and `extern crate <cratename>`. Assume we're testing a `playground` library\n "
16189+ "/// crate or using the Playground's Test action :\n"
1619016190"///\n"
1619116191"/// ```\n"
16192- "/// let result = doccomments ::add(2, 3);\n"
16192+ "/// let result = playground ::add(2, 3);\n"
1619316193"/// assert_eq!(result, 5);\n"
1619416194"/// ```\n"
1619516195msgstr ""
@@ -16198,10 +16198,10 @@ msgstr ""
1619816198"/// 以降で詳細なドキュメンテーションを記述します。コードブロックは三重のバッ"
1619916199"ククォートで始まり、\n"
1620016200"/// 暗黙的に`fn main()`と`extern crate <クレート名>`で囲われます。\n"
16201- "/// `doccomments `クレートをテストしたいときには、次のように記述します。\n"
16201+ "/// `playground `クレートをテストしたいときには、次のように記述します。\n"
1620216202"///\n"
1620316203"/// ```\n"
16204- "/// let result = doccomments ::add(2, 3);\n"
16204+ "/// let result = playground ::add(2, 3);\n"
1620516205"/// assert_eq!(result, 5);\n"
1620616206"/// ```\n"
1620716207
@@ -16215,7 +16215,7 @@ msgid ""
1621516215"/// # Examples\n"
1621616216"///\n"
1621716217"/// ```\n"
16218- "/// let result = doccomments ::div(10, 2);\n"
16218+ "/// let result = playground ::div(10, 2);\n"
1621916219"/// assert_eq!(result, 5);\n"
1622016220"/// ```\n"
1622116221"///\n"
@@ -16225,7 +16225,7 @@ msgid ""
1622516225"///\n"
1622616226"/// ```rust,should_panic\n"
1622716227"/// // panics on division by zero\n"
16228- "/// doccomments ::div(10, 0);\n"
16228+ "/// playground ::div(10, 0);\n"
1622916229"/// ```\n"
1623016230msgstr ""
1623116231"/// 一般的に、ドキュメンテーションコメントは\n"
@@ -16236,7 +16236,7 @@ msgstr ""
1623616236"/// # Examples\n"
1623716237"///\n"
1623816238"/// ```\n"
16239- "/// let result = doccomments ::div(10, 2);\n"
16239+ "/// let result = playground ::div(10, 2);\n"
1624016240"/// assert_eq!(result, 5);\n"
1624116241"/// ```\n"
1624216242"///\n"
@@ -16246,7 +16246,7 @@ msgstr ""
1624616246"///\n"
1624716247"/// ```rust,should_panic\n"
1624816248"/// // ゼロで除算するとパニックします\n"
16249- "/// doccomments ::div(10, 0);\n"
16249+ "/// playground ::div(10, 0);\n"
1625016250"/// ```\n"
1625116251
1625216252#: src/testing/doc_testing.md:52
@@ -16291,7 +16291,7 @@ msgid ""
1629116291"/// # // hidden lines start with `#` symbol, but they're still compilable!\n"
1629216292"/// # fn try_main() -> Result<(), String> { // line that wraps the body "
1629316293"shown in doc\n"
16294- "/// let res = doccomments ::try_div(10, 2)?;\n"
16294+ "/// let res = playground ::try_div(10, 2)?;\n"
1629516295"/// # Ok(()) // returning from try_main\n"
1629616296"/// # }\n"
1629716297"/// # fn main() { // starting main that'll unwrap()\n"
@@ -16305,7 +16305,7 @@ msgstr ""
1630516305"/// ```\n"
1630616306"/// # // 行頭に `#` を置くと行が隠されるが、コンパイルには成功します。\n"
1630716307"/// # fn try_main() -> Result<(), String> { // ドキュメントの本体を囲う行\n"
16308- "/// let res = doccomments ::try_div(10, 2)?;\n"
16308+ "/// let res = playground ::try_div(10, 2)?;\n"
1630916309"/// # Ok(()) // try_mainから値を返します\n"
1631016310"/// # }\n"
1631116311"/// # fn main() { // unwrap()を実行します。\n"
0 commit comments