Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
itsybitesyspider committed Apr 5, 2023
1 parent 999e63c commit 1d37a6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/idxsets/idxrange.rs
Expand Up @@ -42,7 +42,6 @@ impl IdxSet for IdxRange {
}
}


#[cfg(test)]
mod test {
use super::*;
Expand All @@ -67,4 +66,4 @@ mod test {

assert_eq!(zero_range.size(), 1);
}
}
}
5 changes: 2 additions & 3 deletions src/types/entry.rs
Expand Up @@ -95,9 +95,8 @@ where
where
R: Debug,
{
self.get().or_else(|| {
panic!("retriever: Entry::or_panic(): {:?} doesn't exist",&self.id)
});
self.get()
.or_else(|| panic!("retriever: Entry::or_panic(): {:?} doesn't exist", &self.id));

self
}
Expand Down

0 comments on commit 1d37a6e

Please sign in to comment.