Skip to content
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

Remove all .unwrap() and .expect() #92

Open
maxammann opened this issue May 9, 2022 · 10 comments
Open

Remove all .unwrap() and .expect() #92

maxammann opened this issue May 9, 2022 · 10 comments
Labels
feature-request Request for a new feature WIP-ISSUE Do not yet work on this issue!

Comments

@maxammann
Copy link
Collaborator

🤔 Expected Behavior

Return a Result for failable operations.

😯 Current Behavior

We use sometimes unwrap or expecte because of lazyness.

💁 Possible Solution

🔦 Context

💻 Examples

@maxammann maxammann added good first issue Good for newcomers feature-request Request for a new feature labels May 9, 2022
@iakev
Copy link

iakev commented May 9, 2022

Hello, I would love to work on the issue since it is a good Rust first issue. Any specificities I should know?

@maxammann
Copy link
Collaborator Author

Hello @iakev I'm merging in a rather large PR in the next 1h :) So its better to start working after that.
Apart from that you should be fine.

Maybe it could make sense to leave some .expect() if they are very unlikely, or if you are unlikely to hit them after setting up the map.

@maxammann
Copy link
Collaborator Author

Or probably tomorrow..

@iakev
Copy link

iakev commented May 9, 2022 via email

@maxammann
Copy link
Collaborator Author

Yes, absolutely. You can also reach me on matrix.org Its @maxammann

@iakev
Copy link

iakev commented May 12, 2022 via email

@maxammann
Copy link
Collaborator Author

Sure, just push the branch to your fork and then open a PR in "Draft Mode": https://github.blog/2019-02-14-introducing-draft-pull-requests/

@iakev
Copy link

iakev commented May 12, 2022 via email

@xinslu
Copy link

xinslu commented Jun 25, 2022

Hi,
Is this issue still open? If yes, then I'd love to get involved!

@maxammann maxammann added the WIP-ISSUE Do not yet work on this issue! label Jun 25, 2022
@maxammann
Copy link
Collaborator Author

Hi! The description and goal of this issue needs some refinement. Ill try to refine it this weekend!

@maxammann maxammann removed the good first issue Good for newcomers label Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature WIP-ISSUE Do not yet work on this issue!
Projects
None yet
Development

No branches or pull requests

3 participants