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

Avoid using a suffix in the first integer exercise #239

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

LukeMathWalker
Copy link
Collaborator

Fixes #203

@LukeMathWalker
Copy link
Collaborator Author

The solution will also be updated to note that you can rely on inference alone to get the correct outcome.

@LukeMathWalker LukeMathWalker merged commit 3f60de3 into main Dec 18, 2024
7 checks passed
@LukeMathWalker LukeMathWalker deleted the suffix branch December 18, 2024 16:39
woojunro added a commit to woojunro/100-exercises-to-learn-rust that referenced this pull request Jan 2, 2025
* use OpenSans as fallback font on PRs from forks

* Fix typo

* Update reference from Rustonomicon to Rust Reference

The exercise refers to the "Data layout" section of the Rustonomicon, but now that section claims itself deprecated and redirects to the "Type layout" section of The Rust Reference.

* 05_ticket_v2 outro: correct comment on title (mainmatter#179)

Characters was meant to be bytes, this was missed in a former refactoring

* Change docstring: "when converted to `u8`"

Fixed docstring

* exercises 02_basic_calculator/04_panics: fix comma splice in panic message

* Update 08_overflow.md

if you read threw the profile docs it provides 4 profiles. https://doc.rust-lang.org/cargo/reference/profiles.html

* chore(ci): re-create book artifacts at the beginning of each month

* Update 08_overflow.md

Added some context.

* Update 11_clone.md (mainmatter#205)

typo in code

* format

* debug pandoc build

* fix reference to fallback font

* switch off Pandoc verbosity

* run Gravity on online PDF

* debug

* fix a superfluous word in a comment (mainmatter#217)

* fix a small typo in 11_locks.md (mainmatter#219)

* Fix typo in 03_leak.md (mainmatter#220)

Corrected a confusing sentence with double negative.

* Add install steps to the welcome page (mainmatter#196)

* Warn about the risks of using catch-all patterns (mainmatter#200)

* doc: update book 06_01_arrays (mainmatter#195)

* Update aliases

* Update redirects

* Formatting

* Link to the next tutored session in the methodology section

* Ignore dead code warnings until visibility has been explained (mainmatter#232)

* Format all manifests

* Don't mark Rust code snippets as runnable

* Showcase else-if (mainmatter#234)

* Give a more structure hint for iteration exercises (mainmatter#235)

* Clarify that both crate and super are keywords (mainmatter#236)

* Clarify Send-Sync relationship (mainmatter#237)

* Change if-else exercise to require an if-else (mainmatter#238)

* Avoid using a suffix (mainmatter#239)

---------

Co-authored-by: Marco Otte-Witte <[email protected]>
Co-authored-by: Simon Morgan <[email protected]>
Co-authored-by: Luca Boschetto <[email protected]>
Co-authored-by: iacri <[email protected]>
Co-authored-by: Henk Oordt <[email protected]>
Co-authored-by: Benjamin Tamasi <[email protected]>
Co-authored-by: Vincent Ging Ho Yim <[email protected]>
Co-authored-by: Manuel Bichler <[email protected]>
Co-authored-by: Bartlomiej Dudzik <[email protected]>
Co-authored-by: Robertino <[email protected]>
Co-authored-by: dawe <[email protected]>
Co-authored-by: Will Bush <[email protected]>
Co-authored-by: Daniel Wagner-Hall <[email protected]>
Co-authored-by: Maor Levy <[email protected]>
Co-authored-by: LukeMathWalker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider how idiomatic numeric type suffixes are
1 participant