-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Feature/generics3 updt from old pr #2043
base: main
Are you sure you want to change the base?
Feature/generics3 updt from old pr #2043
Conversation
One of the checks failed windows 11
|
I can take care of the CI test later. Probably a Windows issue. We shouldn't use traits / trait bounds because the exercises about them are after the generics exercises. How about a function taking |
I changed fn into_dispose_nulls<T>(list: Vec<Option<T>>) -> Vec<T> {
list.into_iter().flatten().collect()
} i tried to have |
Oh, yeah. We would need to return something like |
Created a new pull request based on the previous one (#1470).
Added a new generic exercise that focuses on function reusability using generics.