#[derive(Debug)]
enum UsState {
    Alabama,
    Alaska,
    // --fragment pominięty--
}

enum Coin {
    Penny,
    Nickel,
    Dime,
    Quarter(UsState),
}

fn main() {
    let coin = Coin::Penny;
    // ANCHOR: here
    let mut count = 0;
    match coin {
        Coin::Quarter(state) => println!("Ćwierćdolarówka stanu {:?}!", state),
        _ => count += 1,
    }
    // ANCHOR_END: here
}
