Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf76a997

Browse files
committed
readd Debug derive
1 parent5a09f28 commitf76a997

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎src/word.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ use crate::tables::word::WordCat;
2424
///
2525
/// [`unicode_words`]: trait.UnicodeSegmentation.html#tymethod.unicode_words
2626
/// [`UnicodeSegmentation`]: trait.UnicodeSegmentation.html
27+
#[derive(Debug)]
2728
pubstructUnicodeWords<'a>{
2829
inner:WordsIter<'a>,
2930
}
@@ -68,6 +69,7 @@ impl<'a> DoubleEndedIterator for UnicodeWords<'a> {
6869
///
6970
/// [`unicode_word_indices`]: trait.UnicodeSegmentation.html#tymethod.unicode_word_indices
7071
/// [`UnicodeSegmentation`]: trait.UnicodeSegmentation.html
72+
#[derive(Debug)]
7173
pubstructUnicodeWordIndices<'a>{
7274
inner:IndicesIter<'a>,
7375
}
@@ -752,6 +754,7 @@ impl<'a> UWordBounds<'a> {
752754
/// AHLetter is the same as ALetter, so we don't need to distinguish it.
753755
///
754756
/// Any other single ASCII byte is its own boundary (the default WB999).
757+
#[derive(Debug)]
755758
pubstructAsciiWordBoundIter<'a>{
756759
rest:&'astr,
757760
offset:usize,
@@ -939,11 +942,13 @@ type AsciiIndicesIter<'a> =
939942
typeUnicodeIndicesIter<'a> =
940943
core::iter::Filter<UWordBoundIndices<'a>,fn(&(usize,&'astr)) ->bool>;
941944

945+
#[derive(Debug)]
942946
enumWordsIter<'a>{
943947
Ascii(AsciiWordsIter<'a>),
944948
Unicode(UnicodeWordsIter<'a>),
945949
}
946950

951+
#[derive(Debug)]
947952
enumIndicesIter<'a>{
948953
Ascii(AsciiIndicesIter<'a>),
949954
Unicode(UnicodeIndicesIter<'a>),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp