You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's hard to teach, because it requires additional explanations about iterators and lifetimes.
There is also String::from("") and "".into(), which produces the question "why are they different?".
Should I also update it to a new behavior (like in without-a-bundler example)? At the moment npm run serve builds the page, but the code fails to run when I navigate to the browser.
Motivation
There is a function signature
It's hard to teach, because it requires additional explanations about iterators and lifetimes.
There is also
String::from("")
and"".into()
, which produces the question "why are they different?".Proposed Solution
Use distinct arguments instead of the iterator
Alternatives
Keep it as is
Additional Context
I'd like to submit an update for this example if it's a good idea
The text was updated successfully, but these errors were encountered: