summaryrefslogtreecommitdiff
path: root/candle-datasets/src/nlp/tinystories.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-datasets/src/nlp/tinystories.rs')
-rw-r--r--candle-datasets/src/nlp/tinystories.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-datasets/src/nlp/tinystories.rs b/candle-datasets/src/nlp/tinystories.rs
index c657c9eb..ba471728 100644
--- a/candle-datasets/src/nlp/tinystories.rs
+++ b/candle-datasets/src/nlp/tinystories.rs
@@ -87,7 +87,7 @@ impl<'a> DatasetRandomIter<'a> {
}
}
-impl<'a> Iterator for DatasetRandomIter<'a> {
+impl Iterator for DatasetRandomIter<'_> {
type Item = Result<(Tensor, Tensor)>;
fn next(&mut self) -> Option<Self::Item> {