@@ -154,7 +154,7 @@ msgstr ""
154
154
#: src/doc/guide-pointers.md:141 src/doc/guide-pointers.md:221
155
155
#: src/doc/guide-pointers.md:238 src/doc/guide-pointers.md:300
156
156
#, fuzzy , no-wrap
157
- #| msgid "~~~~ {.ignore} // main.rs extern mod world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
157
+ #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
158
158
msgid ""
159
159
"~~~rust\n"
160
160
"struct Point {\n"
@@ -164,7 +164,7 @@ msgid ""
164
164
msgstr ""
165
165
"~~~~ {.ignore}\n"
166
166
"// main.rs\n"
167
- "extern mod world;\n"
167
+ "extern crate world;\n"
168
168
"fn main() { println(~\" hello \" + world::explore()); }\n"
169
169
"~~~~"
170
170
@@ -222,7 +222,7 @@ msgstr "# データ構造"
222
222
#. type: Plain text
223
223
#: src/doc/guide-pointers.md:189
224
224
#, fuzzy , no-wrap
225
- #| msgid "~~~~ {.ignore} // main.rs extern mod world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
225
+ #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
226
226
msgid ""
227
227
"~~~rust\n"
228
228
"enum List<T> {\n"
@@ -232,7 +232,7 @@ msgid ""
232
232
msgstr ""
233
233
"~~~~ {.ignore}\n"
234
234
"// main.rs\n"
235
- "extern mod world;\n"
235
+ "extern crate world;\n"
236
236
"fn main() { println(~\" hello \" + world::explore()); }\n"
237
237
"~~~~"
238
238
@@ -304,7 +304,7 @@ msgstr "## マネージドボックス"
304
304
#. type: Plain text
305
305
#: src/doc/guide-pointers.md:269
306
306
#, fuzzy , no-wrap
307
- #| msgid "~~~~ {.ignore} // main.rs extern mod world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
307
+ #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
308
308
msgid ""
309
309
"~~~rust{.ignore}\n"
310
310
"struct Point {\n"
@@ -314,7 +314,7 @@ msgid ""
314
314
msgstr ""
315
315
"~~~~ {.ignore}\n"
316
316
"// main.rs\n"
317
- "extern mod world;\n"
317
+ "extern crate world;\n"
318
318
"fn main() { println(~\" hello \" + world::explore()); }\n"
319
319
"~~~~"
320
320
@@ -372,7 +372,7 @@ msgstr ""
372
372
#. type: Plain text
373
373
#: src/doc/guide-pointers.md:341
374
374
#, fuzzy , no-wrap
375
- #| msgid "~~~~ {.ignore} // main.rs extern mod world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
375
+ #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
376
376
msgid ""
377
377
"struct Point {\n"
378
378
" x: f32,\n"
@@ -381,7 +381,7 @@ msgid ""
381
381
msgstr ""
382
382
"~~~~ {.ignore}\n"
383
383
"// main.rs\n"
384
- "extern mod world;\n"
384
+ "extern crate world;\n"
385
385
"fn main() { println(~\" hello \" + world::explore()); }\n"
386
386
"~~~~"
387
387
@@ -402,7 +402,7 @@ msgstr ""
402
402
#. type: Plain text
403
403
#: src/doc/guide-pointers.md:378
404
404
#, fuzzy , no-wrap
405
- #| msgid "~~~~ {.ignore} // main.rs extern mod world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
405
+ #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
406
406
msgid ""
407
407
"~~~rust{.ignore}\n"
408
408
"fn main() {\n"
@@ -413,7 +413,7 @@ msgid ""
413
413
msgstr ""
414
414
"~~~~ {.ignore}\n"
415
415
"// main.rs\n"
416
- "extern mod world;\n"
416
+ "extern crate world;\n"
417
417
"fn main() { println(~\" hello \" + world::explore()); }\n"
418
418
"~~~~"
419
419
@@ -499,7 +499,7 @@ msgstr ""
499
499
#. type: Plain text
500
500
#: src/doc/guide-pointers.md:450
501
501
#, fuzzy , no-wrap
502
- #| msgid "~~~~ {.ignore} // main.rs extern mod world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
502
+ #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
503
503
msgid ""
504
504
"fn main() {\n"
505
505
" let x = ~5;\n"
@@ -509,7 +509,7 @@ msgid ""
509
509
msgstr ""
510
510
"~~~~ {.ignore}\n"
511
511
"// main.rs\n"
512
- "extern mod world;\n"
512
+ "extern crate world;\n"
513
513
"fn main() { println(~\" hello \" + world::explore()); }\n"
514
514
"~~~~"
515
515
@@ -530,7 +530,7 @@ msgstr ""
530
530
#. type: Plain text
531
531
#: src/doc/guide-pointers.md:463
532
532
#, fuzzy , no-wrap
533
- #| msgid "~~~~ {.ignore} // main.rs extern mod world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
533
+ #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
534
534
msgid ""
535
535
"fn main() {\n"
536
536
" let x = ~5;\n"
@@ -540,14 +540,14 @@ msgid ""
540
540
msgstr ""
541
541
"~~~~ {.ignore}\n"
542
542
"// main.rs\n"
543
- "extern mod world;\n"
543
+ "extern crate world;\n"
544
544
"fn main() { println(~\" hello \" + world::explore()); }\n"
545
545
"~~~~"
546
546
547
547
#. type: Plain text
548
548
#: src/doc/guide-pointers.md:477
549
549
#, fuzzy , no-wrap
550
- #| msgid "~~~~ {.ignore} // main.rs extern mod world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
550
+ #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
551
551
msgid ""
552
552
"fn main() {\n"
553
553
" let x = ~5;\n"
@@ -557,7 +557,7 @@ msgid ""
557
557
msgstr ""
558
558
"~~~~ {.ignore}\n"
559
559
"// main.rs\n"
560
- "extern mod world;\n"
560
+ "extern crate world;\n"
561
561
"fn main() { println(~\" hello \" + world::explore()); }\n"
562
562
"~~~~"
563
563
0 commit comments