mirror of
https://github.com/alecthomas/chroma.git
synced 2025-02-13 13:28:27 +02:00
26 lines
389 B
Plaintext
26 lines
389 B
Plaintext
#[derive(Debug)]
|
|
struct Rectangle {
|
|
width: u32,
|
|
height: u32,
|
|
}
|
|
|
|
async fn alignof() {}
|
|
|
|
fn main() {
|
|
let rect1 = Rectangle { width: 30, height: 50 };
|
|
|
|
// Some comment
|
|
println!("rect1 is {:?}", rect1);
|
|
|
|
let r#type = "valid";
|
|
let i: i128 = 1117;
|
|
|
|
let s = "March\n
|
|
April";
|
|
let s = r"March \
|
|
April";
|
|
|
|
let s = "String split over\n multiple \
|
|
lines";
|
|
}
|