Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Rust
/
Ownership
A function only reads a Shipment during the call and never stores it. Which parameter bes…
from Ownership
Rust 1.98
beginner
1 min
A function only reads a Shipment during the call and never stores it. Which parameter best expresses that contract?
shipment: &Shipment
shipment: Shipment
shipment: &mut Shipment
shipment: Arc<Mutex<Shipment>>
Check
Ask AI about this kata
Report an error
next kata
Which pair of lengths does this program print?
Predict the output
A new version is available
Reload