mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:54:34 -06:00
@@ -19,7 +19,7 @@ fn another_function() {
|
|||||||
|
|
||||||
Rust code uses `snake_case` as a style for function names: all lower case, with
|
Rust code uses `snake_case` as a style for function names: all lower case, with
|
||||||
underscores separating words. (It also uses them for variable names, too.) We
|
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 parentheses:
|
can call any function we’ve defined by using its name and some parentheses:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|||||||
Reference in New Issue
Block a user