code-search-cli 0.3.3

Intelligent code search tool for tracing text (UI text, function names, variables) to implementation code
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use yaml_rust::scanner::TokenType;
use yaml_rust::scanner::Marker;

fn main() {
    let t: Option<TokenType> = None;
    if let Some(token_type) = t {
        match token_type {
            TokenType::Scalar => {}, // Try unit variant
            // TokenType::Scalar(..) => {}, // Try tuple variant
            _ => {}
        }
    }
}