Skip to content

shimunn/size_hint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

size_hint Crates.io Version

A very simple library to provide a size_hint for an iterator which does not provide it's own such as std::iter::{from_fn, successors}

Usage

use std::iter;
use size_hint::HintSize;
iter::successors(Some(inital_state), some_fn).hint_size(expected_items)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages