Clippy fixes

This commit is contained in:
Danielle Jenkins 2025-03-12 17:53:28 -07:00
parent 19c35abc43
commit d3bd555c58
2 changed files with 7 additions and 1 deletions

View file

@ -17,6 +17,12 @@ pub struct DocCache {
cache: Arc<Mutex<std::collections::HashMap<String, String>>>,
}
impl Default for DocCache {
fn default() -> Self {
Self::new()
}
}
impl DocCache {
pub fn new() -> Self {
Self {