Rust Attachment Showcase
Definition2
XLââN
used by 0
Lean status
- No associated Lean code or declarations.
Clean inline Rust attachment used for rendering review.
Rust code for Definition2
pub fn rust_example(x: i32) -> i32 { // increment once x + 1 }
Definition3
XLââN
used by 0
Lean status
- No associated Lean code or declarations.
Rust block with strings, comments, and numbers for simple coloring coverage.
Rust code for Definition3
pub fn log_label() -> &'static str { // starter string "hello" } pub const RETRIES: u32 = 3;