capillary 0.1.0

Library for HashMap-like storage of key-value pairs, but allowing for step-by-step (partial) search of value.
Documentation
struct Dictionary;

struct Node;

impl Dictionary {
    pub fn new() -> Self {
        Self
    }

    pub fn len(&self) -> usize {
        0
    }

    pub fn insert(&mut self, word: &str, substitution: &str) {
        todo!()
    }
}

#[cfg(test)]
mod tests {
    use crate::Dictionary;

    #[test]
    fn insert() {
        let mut d = Dictionary::new();

        d.insert(":D", "Hello");

        assert_eq!(d.len(), 1);
    }
}