Skip to content

Commit 00d50c1

Browse files
authored
Merge pull request #141 from kdnakt/translate-literals
Translate untranslated lines in literals.md
2 parents 4079bba + 249ad9b commit 00d50c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/primitives/literals.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,12 @@ Underscores can be inserted in numeric literals to improve readability, e.g.
2121
-->
2222
可読性のため、`_`(アンダースコア)を数値リテラルの間に挿入することができます。例えば`1_000``1000`と、`0.000_001``0.000001`とそれぞれ同一です。
2323

24+
<!--
2425
Rust also supports scientific [E-notation][enote], e.g. `1e6`, `7.6e-4`. The
2526
associated type is `f64`.
27+
-->
28+
また、Rustは`1e6``7.6e-4`などの科学的な[E表記][enote]をサポートしています。
29+
関連型は`f64`です。
2630

2731
<!--
2832
We need to tell the compiler the type of the literals we use. For now,
@@ -50,6 +54,7 @@ fn main() {
5054
// TODO ^ 型が重要であることを実感するため`1i32`を`1u32`に変更してみましょう。
5155
5256
// Scientific notation
57+
// 科学的表記
5358
println!("1e4 is {}, -2.5e-3 is {}", 1e4, -2.5e-3);
5459
5560
// Short-circuiting boolean logic

0 commit comments

Comments
 (0)