Martin Geisler

Results 860 comments of Martin Geisler

Let me close this PR for now — please open another with updated speaker notes if you find time :smile:

Hi @snoopdougiedougie, thanks for spotting this. > The original code would always print "Unknown program name!". Yeah, I think I didn't pick a super good example to be honest. Perhaps...

> works isn't how you usually accept command-line options in Rust--you usually use Clap. True :smile: but I hope the students who take the class will forgive us for this....

> Please update it to use a fixed vector instead — make _pattern matching_ the focus, not command line shenanigans smile I'm of course also fine doing this myself, just...

Let's close this for now — I think the example should be rewritten to not use the arguments at all since that's just extra noise.

Hey @rhapsodyai, > Adding mut to the library declaration seems to make it compile, though my impression was that we should not have to change the code in main That...

Hi @zhouwfang, thanks a lot! This looks much better indeed :smile: I would be happy to merge this, we just need the CLA to be signed.

Thanks! Could I also get you to add a few comments to explain the solution? In particular the trick with turning the elements into `Option` so we can detect when...

Hey @Luosuu, Thanks so much for the PR! I'm sorry if I gave you the impression on [Reddit](https://www.reddit.com/r/learnrust/comments/101pp8r/difference_between_i32_and_i32/) that it would be easy to write up a nice solution for...

Hi @QuineDot, this is an example of how we can add more detailed explanations to pages now.