mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-27 09:32:16 +02:00
Mention that the syntax is similar to Java as well. (#337)
This commit is contained in:
parent
22d2bd36e4
commit
1936cd5c85
@ -1,6 +1,6 @@
|
|||||||
# Basic Syntax
|
# Basic Syntax
|
||||||
|
|
||||||
Much of the Rust syntax will be familiar to you from C or C++:
|
Much of the Rust syntax will be familiar to you from C, C++ or Java:
|
||||||
|
|
||||||
* Blocks and scopes are delimited by curly braces.
|
* Blocks and scopes are delimited by curly braces.
|
||||||
* Line comments are started with `//`, block comments are delimited by `/* ...
|
* Line comments are started with `//`, block comments are delimited by `/* ...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user