Skip to content

Commit 9918bdd

Browse files
authored
Delete unused files and commented-out code blocks (#68)
* Delete unused file `utf32_string.rs` * Delete unused file `matcher.rs` * Delete unused commented-out code block
1 parent c36c355 commit 9918bdd

File tree

3 files changed

+0
-213
lines changed

3 files changed

+0
-213
lines changed

Diff for: matcher/src/debug.rs

-18
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
11
use crate::matrix::{MatrixCell, ScoreCell};
22
use std::fmt::{Debug, Formatter, Result};
33

4-
// impl<C: Char> MatcherData<'_, C> {
5-
// pub fn rows(&self) -> impl Iterator<Item = MatrixRow> + ExactSizeIterator + Clone + Sized {
6-
// let mut cells = &*self.cells;
7-
// self.row_offs.iter().map(move |&off| {
8-
// let len = self.haystack.len() - off as usize;
9-
// let (row, tmp) = cells.split_at(len);
10-
// cells = tmp;
11-
// MatrixRow { off, cells: row }
12-
// })
13-
// }
14-
15-
// pub fn haystack(
16-
// &self,
17-
// ) -> impl Iterator<Item = HaystackChar<C>> + ExactSizeIterator + '_ + Clone {
18-
// haystack(self.haystack, self.bonus, 0)
19-
// }
20-
// }
21-
224
impl Debug for ScoreCell {
235
fn fmt(&self, f: &mut Formatter<'_>) -> Result {
246
write!(f, "({}, {})", self.score, self.matched)

Diff for: src/matcher.rs

-1
This file was deleted.

Diff for: src/utf32_string.rs

-194
This file was deleted.

0 commit comments

Comments
 (0)