current community
chat
Stack Overflow
Meta Stack Overflow
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Stack Exchange
Inbox
Reputation and Badges
sign up
log in
tour
help
Tour
Start here for a quick overview of the site
Help Center
Detailed answers to any questions you might have
Meta
Discuss the workings and policies of this site
About Us
Learn more about Stack Overflow the company
Business
Learn more about hiring developers or posting ads with us
Stack Overflow
Questions
Jobs
Documentation
Tags
Users
Badges
Ask Question
Rust Language
dashboard
all topics
Popular
Topic
You must
sign up
or
log in
to make a topic request.
43 Topics
18
requests
active
popular
Hello World!
All Versions
54
Advanced usage of println!
23
Console output without macros
2 more examples
0 improvement requests
0 proposed changes
edited
Sep 30 at 17:34
+4
Traits
All Versions
9
Basics
8
Static and Dynamic Dispatch
2 more examples
0 improvement requests
0 proposed changes
edited
Sep 22 at 19:47
+3
Serde
All Versions
7
Struct <-> JSON using stable compiler
3
Struct <-> JSON using nightly compiler
9 more examples
0 improvement requests
0 proposed changes
edited
Aug 28 at 16:49
Loops
All Versions
5
Basics
4
Loop Control
1 more example
0 improvement requests
0 proposed changes
edited
Sep 13 at 15:46
+11
Cargo
All Versions
4
Build project
4
Create new project
4 more examples
0 improvement requests
0 proposed changes
edited
Sep 14 at 19:30
+2
Lifetimes
All Versions
5
Higher-Rank Trait Bounds
3
Impl Blocks
2 more examples
0 improvement requests
0 proposed changes
edited
Sep 8 at 0:14
Strings
All Versions
5
Basic String manipulation
2
Breaking long string literals
3 more examples
0 improvement requests
0 proposed changes
edited
Sep 11 at 9:12
+2
Rust Style Guide
All Versions
6
Naming
2
Imports
3 more examples
0 improvement requests
0 proposed changes
edited
Sep 17 at 19:44
Pattern matching
All Versions
4
Matching multiple patterns
2
Basic pattern matching
4 more examples
0 improvement requests
0 proposed changes
edited
Sep 8 at 20:02
+2
Structures
All Versions
3
Creating and using structure values
2
Defining structures
2 more examples
0 improvement requests
0 proposed changes
edited
Sep 21 at 16:33
File I/O
All Versions
3
Read a file as a whole as a String
2
Read a file line by line
2 more examples
0 improvement requests
0 proposed changes
edited
Jul 23 at 3:09
Globals
All Versions
3
Const
3
Static
1 more example
0 improvement requests
0 proposed changes
edited
Jul 30 at 22:13
Option
All Versions
2
Creating an Option value and pattern match
2
Destructuring an Option
2 more examples
0 improvement requests
0 proposed changes
edited
Jul 22 at 21:50
Tuples
All Versions
3
Looking inside tuples
2
Matching tuple values
2 more examples
0 improvement requests
0 proposed changes
edited
Sep 20 at 14:47
Iterators
All Versions
3
Adapters and Consumers
2
Custom iterator
1 more example
0 improvement requests
0 proposed changes
edited
Sep 13 at 8:52
Documentation
All Versions
2
Documentation Lints
2
Documentation Tests
2 more examples
0 improvement requests
0 proposed changes
edited
Sep 13 at 9:56
Ownership
All Versions
2
Borrows and lifetimes
2
Ownership and borrowing
2 more examples
0 improvement requests
0 proposed changes
created
Jul 28 at 9:28
Macros
All Versions
2
Fragment specifiers — Kind of patterns
2
Tutorial
5 more examples
0 improvement requests
0 proposed changes
edited
Sep 13 at 15:55
Generics
All Versions
2
Declaration
1
Bounded generic types
3 more examples
0 improvement requests
0 proposed changes
edited
Jul 23 at 14:50
Parallelism
All Versions
3
Starting a new thread
2
Cross-thread communication with channels
2 more examples
0 improvement requests
0 proposed changes
edited
Sep 19 at 7:23
1
2
3
next
Overview Topic
Hello World!
Advanced usage of println!
Console output without macros
Minimal example
#![no_std] example
Stack Overflow works best with JavaScript enabled