You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rustlings/exercises
Dylan Nugent 5b1e673cec fix(primitive_types4): Fail on a slice covering the wrong area
This commit converts primitive_types4 to a test and asserts that the
slice given is equal to the expected slice.

The intent of the primitive_types4 exercise appears to be to ensure the
user understands inclusive and exclusive bounds as well as slice syntax.
`rustlings` commands using `compile` do not verify that a specific
println is reached and, in the case of `watch` and `verify` (but not
`run`), they do not output the `println`s at all.

This fix is semantically similar to #198. It does not take a stance on
the correct way to handle this for all exercises; see #127. There are
likely other exercises whose intent are masked by this issue.
5 years ago
..
error_handling fix(option1): Add test for prematurely passing exercise 5 years ago
functions Auto merge of #172 - miller-time:fix-book-links, r=komaeda 5 years ago
if Auto merge of #172 - miller-time:fix-book-links, r=komaeda 5 years ago
macros chore: Fix a couple broken book links 5 years ago
modules Auto merge of #172 - miller-time:fix-book-links, r=komaeda 5 years ago
move_semantics Auto merge of #172 - miller-time:fix-book-links, r=komaeda 5 years ago
primitive_types fix(primitive_types4): Fail on a slice covering the wrong area 5 years ago
standard_library_types chore: Correct typo 5 years ago
strings chore: Fix a couple broken book links 5 years ago
structs docs: Fix wrong title 5 years ago
tests chore: Fix a couple broken book links 5 years ago
threads chore: Fix a couple broken book links 5 years ago
variables chore: Fix a couple broken book links 5 years ago
test1.rs fix(test1): Swap assertion parameter order 5 years ago
test2.rs Add errors to exercises that compile without user changes 5 years ago
test3.rs chore: Clean up some formatting in exercises 5 years ago
test4.rs add tests; refactor exercise links 6 years ago