mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:24:32 -06:00
rebuild pages at 3612ad7
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@
|
||||
</code></pre>
|
||||
<p>Rust code uses <code>snake_case</code> as a style for function names: all lower case, with underscores separating words.
|
||||
(It also uses them for variable names, too.)
|
||||
We can can call any function we’ve defined by using its name and some parenthesis:</p>
|
||||
We can can call any function we’ve defined by using its name and some parentheses:</p>
|
||||
<pre><code class="language-rust">fn main() {
|
||||
println!("Hello, world!");
|
||||
|
||||
|
||||
+1
-1
@@ -907,7 +907,7 @@ After shadowing, x is: 5
|
||||
</code></pre>
|
||||
<p>Rust code uses <code>snake_case</code> as a style for function names: all lower case, with underscores separating words.
|
||||
(It also uses them for variable names, too.)
|
||||
We can can call any function we’ve defined by using its name and some parenthesis:</p>
|
||||
We can can call any function we’ve defined by using its name and some parentheses:</p>
|
||||
<pre><code class="language-rust">fn main() {
|
||||
println!("Hello, world!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user