-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iter
type being leaked publicly
#48
Comments
Iter
type being leaked publicly.Iter
type being leaked publicly
Naming: There is only one kind of |
Making I would keep |
So |
I am leaving this issue unresolved until the documentation for the type has been written. Thank you @LeoniePhiline for the starter PR. |
On the v0.16 branch, I have made Does anyone object to |
The public functions
dotenv_iter
,from_read_iter
,from_filename_iter
, andfrom_path_iter
all return theIter
struct - which is currently not public. It needs to be so users have easier to access its documentation.As a public type it needs to eagerly implement common traits (Rust API Guidelines) and have decent documentation.
Its naming could also be improved. It is clear enough in the context of a library internal, but when constructed and viewed externally
Iter
is fairly nebulous. Are there any renaming suggestions?Making
Iter
public would also makefrom_read_iter
obsolete as all it does is callIter::new
.The text was updated successfully, but these errors were encountered: