You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d5d1703
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: c-cpp-book/src/ch02-getting-started.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ fn main() {
10
10
- The above syntax should be similar to anyone familiar with C-style languages
11
11
- All functions in Rust begin with the ```fn``` keyword
12
12
- The default entry point for executables is ```main()```
13
-
- The ```println!``` looks like a function, but is actually a **macro**. Macros in Rust are very different from C/C++ preprocessor macros \u2014 they are hygienic, type-safe, and operate on the syntax tree rather than text substitution
13
+
- The ```println!``` looks like a function, but is actually a **macro**. Macros in Rust are very different from C/C++ preprocessor macros — they are hygienic, type-safe, and operate on the syntax tree rather than text substitution
14
14
- Two great ways to quickly try out Rust snippets:
15
15
-**Online**: [Rust Playground](https://play.rust-lang.org/) — paste code, hit Run, share results. No install needed
16
16
-**Local REPL**: Install [`evcxr_repl`](https://github.com/evcxr/evcxr) for an interactive Rust REPL (like Python's REPL, but for Rust):
0 commit comments