]> git.lizzy.rs Git - rust.git/blob - src/doc/po/ja/guide-pointers.md.po
2b130821c4c9ab6a1e9394ebcc6ba46cf63dea32
[rust.git] / src / doc / po / ja / guide-pointers.md.po
1 # Japanese translations for Rust package
2 # Copyright (C) 2014 The Rust Project Developers
3 # This file is distributed under the same license as the Rust package.
4 # Automatically generated, 2014.
5 #
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: Rust 0.10-pre\n"
9 "POT-Creation-Date: 2014-02-03 08:13+0900\n"
10 "PO-Revision-Date: 2014-01-13 12:01+0900\n"
11 "Last-Translator: Automatically generated\n"
12 "Language-Team: none\n"
13 "Language: ja\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=1; plural=0;\n"
18
19 #. type: Plain text
20 #: src/doc/guide-pointers.md:2
21 #, fuzzy
22 #| msgid "% The Rust Language Tutorial"
23 msgid "% The Rust Pointer Guide"
24 msgstr "% Rust 言語チュートリアル"
25
26 #. type: Plain text
27 #: src/doc/guide-pointers.md:21
28 #, fuzzy
29 #| msgid "~~~~ let square = |x: int| -> uint { (x * x) as uint }; ~~~~"
30 msgid "~~~rust fn succ(x: &int) -> int { *x + 1 } ~~~"
31 msgstr ""
32 "~~~~\n"
33 "let square = |x: int| -> uint { (x * x) as uint };\n"
34 "~~~~~~~~\n"
35
36 #. type: Plain text
37 #: src/doc/guide-pointers.md:31
38 #, fuzzy, no-wrap
39 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
40 msgid ""
41 "~~~rust{.ignore}\n"
42 "fn main() {\n"
43 "    let number = 5;\n"
44 "    let succ_number = succ(number);\n"
45 "    println!(\"{}\", succ_number);\n"
46 "}\n"
47 "~~~\n"
48 msgstr ""
49 "~~~~ {.ignore}\n"
50 "# struct Point { x: f64, y: f64 }\n"
51 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
52 "let origin = Point { x: 0.0, y: 0.0 };"
53
54 #. type: Plain text
55 #: src/doc/guide-pointers.md:50
56 #, fuzzy, no-wrap
57 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
58 msgid ""
59 "~~~rust\n"
60 "# fn succ(x: &int) -> int { *x + 1 }\n"
61 "fn main() {\n"
62 "    let number = 5;\n"
63 "    let succ_number = succ(&number);\n"
64 "    println!(\"{}\", succ_number);\n"
65 "}\n"
66 "~~~\n"
67 msgstr ""
68 "~~~~ {.ignore}\n"
69 "# struct Point { x: f64, y: f64 }\n"
70 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
71 "let origin = Point { x: 0.0, y: 0.0 };"
72
73 #. type: Plain text
74 #: src/doc/guide-pointers.md:58
75 #, fuzzy
76 #| msgid "~~~~ let square = |x: int| -> uint { (x * x) as uint }; ~~~~"
77 msgid "~~~rust fn succ(x: int) -> int { x + 1 }"
78 msgstr ""
79 "~~~~\n"
80 "let square = |x: int| -> uint { (x * x) as uint };\n"
81 "~~~~~~~~\n"
82
83 #. type: Plain text
84 #: src/doc/guide-pointers.md:65
85 #, fuzzy, no-wrap
86 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
87 msgid ""
88 "fn main() {\n"
89 "    let number = 5;\n"
90 "    let succ_number = succ(number);\n"
91 "    println!(\"{}\", succ_number);\n"
92 "}\n"
93 "~~~\n"
94 msgstr ""
95 "~~~~ {.ignore}\n"
96 "# struct Point { x: f64, y: f64 }\n"
97 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
98 "let origin = Point { x: 0.0, y: 0.0 };"
99
100 #. type: Plain text
101 #: src/doc/guide-pointers.md:109
102 #, fuzzy, no-wrap
103 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
104 msgid ""
105 "~~~rust\n"
106 "# fn transform(p: Point) -> Point { p }\n"
107 "struct Point {\n"
108 "    x: int,\n"
109 "    y: int,\n"
110 "}\n"
111 msgstr ""
112 "~~~~ {.ignore}\n"
113 "# struct Point { x: f64, y: f64 }\n"
114 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
115 "let origin = Point { x: 0.0, y: 0.0 };"
116
117 #. type: Plain text
118 #: src/doc/guide-pointers.md:115
119 #, fuzzy, no-wrap
120 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
121 msgid ""
122 "fn main() {\n"
123 "    let p0 = Point { x: 5, y: 10};\n"
124 "    let p1 = transform(p0);\n"
125 "    println!(\"{:?}\", p1);\n"
126 "}\n"
127 msgstr ""
128 "~~~~ {.ignore}\n"
129 "# struct Point { x: f64, y: f64 }\n"
130 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
131 "let origin = Point { x: 0.0, y: 0.0 };"
132
133 #. type: Plain text
134 #: src/doc/guide-pointers.md:129
135 #, fuzzy, no-wrap
136 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
137 msgid ""
138 "~~~rust\n"
139 "# struct Point {\n"
140 "#     x: int,\n"
141 "#     y: int,\n"
142 "# }\n"
143 "# let p0 = Point { x: 5, y: 10};\n"
144 "fn transform(p: &Point) -> Point {\n"
145 "    Point { x: p.x + 1, y: p.y + 1}\n"
146 "}\n"
147 msgstr ""
148 "~~~~ {.ignore}\n"
149 "# struct Point { x: f64, y: f64 }\n"
150 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
151 "let origin = Point { x: 0.0, y: 0.0 };"
152
153 #. type: Plain text
154 #: src/doc/guide-pointers.md:141 src/doc/guide-pointers.md:221
155 #: src/doc/guide-pointers.md:238 src/doc/guide-pointers.md:300
156 #, fuzzy, no-wrap
157 #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
158 msgid ""
159 "~~~rust\n"
160 "struct Point {\n"
161 "    x: int,\n"
162 "    y: int,\n"
163 "}\n"
164 msgstr ""
165 "~~~~ {.ignore}\n"
166 "// main.rs\n"
167 "extern crate world;\n"
168 "fn main() { println(~\"hello \" + world::explore()); }\n"
169 "~~~~"
170
171 #. type: Plain text
172 #: src/doc/guide-pointers.md:145
173 #, fuzzy, no-wrap
174 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
175 msgid ""
176 "fn transform(p: Point) -> Point {\n"
177 "    Point { x: p.x + 1, y: p.y + 1}\n"
178 "}\n"
179 msgstr ""
180 "~~~~ {.ignore}\n"
181 "# struct Point { x: f64, y: f64 }\n"
182 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
183 "let origin = Point { x: 0.0, y: 0.0 };"
184
185 #. type: Plain text
186 #: src/doc/guide-pointers.md:152
187 #, fuzzy, no-wrap
188 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
189 msgid ""
190 "fn main() {\n"
191 "    let p0 = Point { x: 5, y: 10};\n"
192 "    let p1 = transform(p0);\n"
193 "    println!(\"{:?}\", p1);\n"
194 "}\n"
195 "~~~\n"
196 msgstr ""
197 "~~~~ {.ignore}\n"
198 "# struct Point { x: f64, y: f64 }\n"
199 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
200 "let origin = Point { x: 0.0, y: 0.0 };"
201
202 #. type: Plain text
203 #: src/doc/guide-pointers.md:162
204 #, fuzzy
205 #| msgid "# Borrowed pointers"
206 msgid "# Owned Pointers"
207 msgstr "# 借用ポインタ"
208
209 #. type: Plain text
210 #: src/doc/guide-pointers.md:175
211 #, fuzzy
212 msgid "## References to Traits"
213 msgstr "# ポインタのデリファレンス"
214
215 #. type: Plain text
216 #: src/doc/guide-pointers.md:181
217 #, fuzzy
218 #| msgid "# Data structures"
219 msgid "## Recursive Data Structures"
220 msgstr "# データ構造"
221
222 #. type: Plain text
223 #: src/doc/guide-pointers.md:189
224 #, fuzzy, no-wrap
225 #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
226 msgid ""
227 "~~~rust\n"
228 "enum List<T> {\n"
229 "    Nil,\n"
230 "    Cons(T, ~List<T>),\n"
231 "}\n"
232 msgstr ""
233 "~~~~ {.ignore}\n"
234 "// main.rs\n"
235 "extern crate world;\n"
236 "fn main() { println(~\"hello \" + world::explore()); }\n"
237 "~~~~"
238
239 #. type: Plain text
240 #: src/doc/guide-pointers.md:195
241 #, fuzzy, no-wrap
242 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
243 msgid ""
244 "fn main() {\n"
245 "    let list: List<int> = Cons(1, ~Cons(2, ~Cons(3, ~Nil)));\n"
246 "    println!(\"{:?}\", list);\n"
247 "}\n"
248 "~~~\n"
249 msgstr ""
250 "~~~~ {.ignore}\n"
251 "# struct Point { x: f64, y: f64 }\n"
252 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
253 "let origin = Point { x: 0.0, y: 0.0 };"
254
255 #. type: Plain text
256 #: src/doc/guide-pointers.md:215
257 #, fuzzy
258 msgid "For example, this will work:"
259 msgstr "## 最小限の例"
260
261 #. type: Plain text
262 #: src/doc/guide-pointers.md:229
263 #, fuzzy, no-wrap
264 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
265 msgid ""
266 "fn main() {\n"
267 "    let a = Point { x: 10, y: 20 };\n"
268 "    spawn(proc() {\n"
269 "        println!(\"{}\", a.x);\n"
270 "    });\n"
271 "}\n"
272 "~~~\n"
273 msgstr ""
274 "~~~~ {.ignore}\n"
275 "# struct Point { x: f64, y: f64 }\n"
276 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
277 "let origin = Point { x: 0.0, y: 0.0 };"
278
279 #. type: Plain text
280 #: src/doc/guide-pointers.md:246
281 #, fuzzy, no-wrap
282 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
283 msgid ""
284 "fn main() {\n"
285 "    let a = ~Point { x: 10, y: 20 };\n"
286 "    spawn(proc() {\n"
287 "        println!(\"{}\", a.x);\n"
288 "    });\n"
289 "}\n"
290 "~~~\n"
291 msgstr ""
292 "~~~~ {.ignore}\n"
293 "# struct Point { x: f64, y: f64 }\n"
294 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
295 "let origin = Point { x: 0.0, y: 0.0 };"
296
297 #. type: Plain text
298 #: src/doc/guide-pointers.md:251
299 #, fuzzy
300 #| msgid "## Managed boxes"
301 msgid "# Managed Pointers"
302 msgstr "## マネージドボックス"
303
304 #. type: Plain text
305 #: src/doc/guide-pointers.md:269
306 #, fuzzy, no-wrap
307 #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
308 msgid ""
309 "~~~rust{.ignore}\n"
310 "struct Point {\n"
311 "    x: int,\n"
312 "    y: int,\n"
313 "}\n"
314 msgstr ""
315 "~~~~ {.ignore}\n"
316 "// main.rs\n"
317 "extern crate world;\n"
318 "fn main() { println(~\"hello \" + world::explore()); }\n"
319 "~~~~"
320
321 #. type: Plain text
322 #: src/doc/guide-pointers.md:277
323 #, fuzzy, no-wrap
324 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
325 msgid ""
326 "fn main() {\n"
327 "    let a = ~Point { x: 10, y: 20 };\n"
328 "    let b = a;\n"
329 "    println!(\"{}\", b.x);\n"
330 "    println!(\"{}\", a.x);\n"
331 "}\n"
332 "~~~\n"
333 msgstr ""
334 "~~~~ {.ignore}\n"
335 "# struct Point { x: f64, y: f64 }\n"
336 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
337 "let origin = Point { x: 0.0, y: 0.0 };"
338
339 #. type: Plain text
340 #: src/doc/guide-pointers.md:308
341 #, fuzzy, no-wrap
342 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
343 msgid ""
344 "fn main() {\n"
345 "    let a = @Point { x: 10, y: 20 };\n"
346 "    let b = a;\n"
347 "    println!(\"{}\", b.x);\n"
348 "    println!(\"{}\", a.x);\n"
349 "}\n"
350 "~~~\n"
351 msgstr ""
352 "~~~~ {.ignore}\n"
353 "# struct Point { x: f64, y: f64 }\n"
354 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
355 "let origin = Point { x: 0.0, y: 0.0 };"
356
357 #. type: Plain text
358 #: src/doc/guide-pointers.md:326 src/doc/tutorial.md:1360
359 #, fuzzy
360 msgid "# References"
361 msgstr "# ポインタのデリファレンス"
362
363 #. type: Plain text
364 #: src/doc/guide-pointers.md:336
365 #, fuzzy
366 #| msgid "~~~~ use std::task::spawn;"
367 msgid "~~~rust use std::num::sqrt;"
368 msgstr ""
369 "~~~~\n"
370 "use std::task::spawn;"
371
372 #. type: Plain text
373 #: src/doc/guide-pointers.md:341
374 #, fuzzy, no-wrap
375 #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
376 msgid ""
377 "struct Point {\n"
378 "    x: f32,\n"
379 "    y: f32,\n"
380 "}\n"
381 msgstr ""
382 "~~~~ {.ignore}\n"
383 "// main.rs\n"
384 "extern crate world;\n"
385 "fn main() { println(~\"hello \" + world::explore()); }\n"
386 "~~~~"
387
388 #. type: Plain text
389 #: src/doc/guide-pointers.md:352
390 #, fuzzy, no-wrap
391 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
392 msgid ""
393 "fn main() {\n"
394 "    let origin = @Point { x: 0.0, y: 0.0 };\n"
395 "    let p1     = ~Point { x: 5.0, y: 3.0 };\n"
396 msgstr ""
397 "~~~~ {.ignore}\n"
398 "# struct Point { x: f64, y: f64 }\n"
399 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
400 "let origin = Point { x: 0.0, y: 0.0 };"
401
402 #. type: Plain text
403 #: src/doc/guide-pointers.md:378
404 #, fuzzy, no-wrap
405 #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
406 msgid ""
407 "~~~rust{.ignore}\n"
408 "fn main() {\n"
409 "    println!(\"{}\", x);\n"
410 "    let x = 5;\n"
411 "}\n"
412 "~~~\n"
413 msgstr ""
414 "~~~~ {.ignore}\n"
415 "// main.rs\n"
416 "extern crate world;\n"
417 "fn main() { println(~\"hello \" + world::explore()); }\n"
418 "~~~~"
419
420 #. type: Plain text
421 #: src/doc/guide-pointers.md:396
422 #, fuzzy, no-wrap
423 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
424 msgid ""
425 "~~~rust\n"
426 "fn main() {\n"
427 "    let mut x = ~5;\n"
428 "    if *x < 10 {\n"
429 "        let y = &x;\n"
430 "        println!(\"Oh no: {:?}\", y);\n"
431 "        return;\n"
432 "    }\n"
433 "    *x -= 1;\n"
434 "    println!(\"Oh no: {:?}\", x);\n"
435 "}\n"
436 "~~~\n"
437 msgstr ""
438 "~~~~ {.ignore}\n"
439 "# struct Point { x: f64, y: f64 }\n"
440 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
441 "let origin = Point { x: 0.0, y: 0.0 };"
442
443 #. type: Plain text
444 #: src/doc/guide-pointers.md:407
445 #, fuzzy, no-wrap
446 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
447 msgid ""
448 "~~~rust{.ignore}\n"
449 "fn main() {\n"
450 "    let mut x = ~5;\n"
451 "    if *x < 10 {\n"
452 "        let y = &x;\n"
453 "        *x -= 1;\n"
454 msgstr ""
455 "~~~~ {.ignore}\n"
456 "# struct Point { x: f64, y: f64 }\n"
457 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
458 "let origin = Point { x: 0.0, y: 0.0 };"
459
460 #. type: Plain text
461 #: src/doc/guide-pointers.md:415
462 #, fuzzy, no-wrap
463 #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
464 msgid ""
465 "        println!(\"Oh no: {:?}\", y);\n"
466 "        return;\n"
467 "    }\n"
468 "    *x -= 1;\n"
469 "    println!(\"Oh no: {:?}\", x);\n"
470 "}\n"
471 "~~~\n"
472 msgstr ""
473 "~~~~ {.ignore}\n"
474 "# struct Point { x: f64, y: f64 }\n"
475 "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
476 "let origin = Point { x: 0.0, y: 0.0 };"
477
478 #. type: Plain text
479 #: src/doc/guide-pointers.md:433
480 #, fuzzy
481 #| msgid "# Dereferencing pointers"
482 msgid "# Returning Pointers"
483 msgstr "# ポインタのデリファレンス"
484
485 #. type: Plain text
486 #: src/doc/guide-pointers.md:444
487 #, fuzzy, no-wrap
488 #| msgid "~~~~ let square = |x: int| -> uint { (x * x) as uint }; ~~~~"
489 msgid ""
490 "~~~rust\n"
491 "fn foo(x: ~int) -> ~int {\n"
492 "    return ~*x;\n"
493 "}\n"
494 msgstr ""
495 "~~~~\n"
496 "let square = |x: int| -> uint { (x * x) as uint };\n"
497 "~~~~~~~~\n"
498
499 #. type: Plain text
500 #: src/doc/guide-pointers.md:450
501 #, fuzzy, no-wrap
502 #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
503 msgid ""
504 "fn main() {\n"
505 "    let x = ~5;\n"
506 "    let y = foo(x);\n"
507 "}\n"
508 "~~~\n"
509 msgstr ""
510 "~~~~ {.ignore}\n"
511 "// main.rs\n"
512 "extern crate world;\n"
513 "fn main() { println(~\"hello \" + world::explore()); }\n"
514 "~~~~"
515
516 #. type: Plain text
517 #: src/doc/guide-pointers.md:457 src/doc/guide-pointers.md:471
518 #, fuzzy, no-wrap
519 #| msgid "~~~~ let square = |x: int| -> uint { (x * x) as uint }; ~~~~"
520 msgid ""
521 "~~~rust\n"
522 "fn foo(x: ~int) -> int {\n"
523 "    return *x;\n"
524 "}\n"
525 msgstr ""
526 "~~~~\n"
527 "let square = |x: int| -> uint { (x * x) as uint };\n"
528 "~~~~~~~~\n"
529
530 #. type: Plain text
531 #: src/doc/guide-pointers.md:463
532 #, fuzzy, no-wrap
533 #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
534 msgid ""
535 "fn main() {\n"
536 "    let x = ~5;\n"
537 "    let y = ~foo(x);\n"
538 "}\n"
539 "~~~\n"
540 msgstr ""
541 "~~~~ {.ignore}\n"
542 "// main.rs\n"
543 "extern crate world;\n"
544 "fn main() { println(~\"hello \" + world::explore()); }\n"
545 "~~~~"
546
547 #. type: Plain text
548 #: src/doc/guide-pointers.md:477
549 #, fuzzy, no-wrap
550 #| msgid "~~~~ {.ignore} // main.rs extern crate world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
551 msgid ""
552 "fn main() {\n"
553 "    let x = ~5;\n"
554 "    let y = @foo(x);\n"
555 "}\n"
556 "~~~\n"
557 msgstr ""
558 "~~~~ {.ignore}\n"
559 "// main.rs\n"
560 "extern crate world;\n"
561 "fn main() { println(~\"hello \" + world::explore()); }\n"
562 "~~~~"
563
564 #. type: Plain text
565 #: src/doc/guide-pointers.md:491
566 #, fuzzy
567 #| msgid "# Modules and crates"
568 msgid "# Related Resources"
569 msgstr "# モジュールとクレート"
570
571 #. type: Bullet: '* '
572 #: src/doc/guide-pointers.md:492
573 #, fuzzy
574 #| msgid "% The Rust Language Tutorial"
575 msgid "[Lifetimes guide](guide-lifetimes.html)"
576 msgstr "% Rust 言語チュートリアル"