Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/nornir

crates/mimir-driver/tests/fixture-targets/twin/src/lib.rs

//! the lib target: rust-analyzer's ids, unprefixed

pub struct Config {
    pub level: u8,
}

pub fn helper() -> u8 {
    1
}

pub fn run() -> u8 {
    helper()
}

#[cfg(test)]
mod tests {
    // the lib's own test harness: the lib's ids
    #[test]
    fn helps() {
        assert_eq!(super::helper(), 1);
    }
}