1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-26 09:12:58 +02:00

Mention that the syntax is similar to Java as well. (#337)

This commit is contained in:
gendx 2023-02-03 15:28:38 +00:00 committed by GitHub
parent 22d2bd36e4
commit 1936cd5c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# 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.
* Line comments are started with `//`, block comments are delimited by `/* ...