- Notifications
You must be signed in to change notification settings - Fork11k
Feature/generics3 updt from old pr#2043
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Feature/generics3 updt from old pr#2043
Uh oh!
There was an error while loading.Please reload this page.
Conversation
poneciak57 commentedJul 11, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
One of the checks failed windows 11 |
mo8it commentedJul 12, 2024
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 |
poneciak57 commentedJul 12, 2024
I changed fninto_dispose_nulls<T>(list:Vec<Option<T>>) ->Vec<T>{ list.into_iter().flatten().collect()} i tried to have |
mo8it commentedJul 12, 2024
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.