1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-04-23 12:08:46 +02:00
Yang Wen 4f7ff5d9c7
fix(structs3): Add a hint for panic (#608)
as a totally newbie to Rust, I don't know panic statement from https://doc.rust-lang.org/book/ and rustlings in the beginning. After a hard searching of [should_panic], then I figure out panic statement. 

So it's helpful to tell the learner that write a panic statement here.
2022-02-04 15:12:02 +01:00
..
2019-11-11 16:23:35 +01:00
2020-05-20 08:31:28 +02:00

Structs

Rust has three struct types: a classic C struct, a tuple struct, and a unit struct.

Further information