diff options
| author | wznmickey <first@wznmickey.com> | 2024-03-28 00:11:19 +0800 |
|---|---|---|
| committer | wznmickey <first@wznmickey.com> | 2024-03-28 00:11:19 +0800 |
| commit | dd72429af49afbfbf0c1f59f053ecc4382d074fc (patch) | |
| tree | 81cc6a54f23a6f5c8a2ca4ae221efda0910c64a4 /info.toml | |
| parent | 92183a74c4c7b91459c1371bb7a68b5e4c1c23bd (diff) | |
| parent | 34d04139cd372edc0dc611ad83e056d7c4b61a73 (diff) | |
Merge remote-tracking branch 'origin/main'
Diffstat (limited to 'info.toml')
| -rw-r--r-- | info.toml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -145,7 +145,7 @@ after the `->`. This is where the function's return type should be -- take a look at the `is_even` function for an example! Also: Did you figure out that, technically, `u32` would be the more fitting type -for the prices here, since they can't be negative? If so, kudos!""" +for the inputs of the functions here, since the original prices shouldn't be negative? If so, kudos!""" [[exercises]] name = "functions5" @@ -248,7 +248,7 @@ starting and ending (plus one) indices of the items in the `Array` that you want to end up in the slice. If you're curious why the first argument of `assert_eq!` does not have an -ampersand for a reference since the second argument is areference, take a look +ampersand for a reference since the second argument is a reference, take a look at the coercion chapter of the nomicon: https://doc.rust-lang.org/nomicon/coercions.html""" |
