630 Commits

Author SHA1 Message Date
Ryan McQuen
26d65fdcd2
Modify PATH to include installed rust. 2020-07-16 13:27:13 -07:00
Ryan McQuen
d94df7bd53
Apparently rust is in /usr/local/cargo/bin. 2020-07-16 13:26:23 -07:00
Ryan McQuen
54c6dd6bed
Specify file name. 2020-07-16 13:22:54 -07:00
Ryan McQuen
75bf123ec3
Save file so we can pass arguments. 2020-07-16 13:22:10 -07:00
Ryan McQuen
e74fb0b2d0
Add -y flag. 2020-07-16 13:20:14 -07:00
Ryan McQuen
007c097e38
Use rustup. 2020-07-16 13:19:14 -07:00
Ryan McQuen
fce4a9bb0f
Separate commands. 2020-07-16 13:13:23 -07:00
Ryan McQuen
09aad5efed
Add install command here instead. 2020-07-16 13:10:36 -07:00
Ryan McQuen
cca4102985
Simplify. 2020-07-16 13:09:07 -07:00
Ryan McQuen
42bb26a476
Where are you? 2020-07-16 13:08:03 -07:00
Ryan McQuen
90604a5135
Find install file. 2020-07-16 13:07:25 -07:00
Ryan McQuen
e8492e8e08
Switch to GitPod image. 2020-07-16 13:05:21 -07:00
Ryan McQuen
e7dda24319
Strange ... 2020-07-16 13:03:49 -07:00
Ryan McQuen
f1cdf59f2a
Where is it?? 2020-07-16 13:03:13 -07:00
Ryan McQuen
b61afcbc18
Fix path to install. 2020-07-16 13:02:16 -07:00
Ryan McQuen
76eceadcde
No user needed. 2020-07-16 13:01:19 -07:00
Ryan McQuen
f5eee6967c
Add Dockerfile. 2020-07-16 12:58:55 -07:00
Ryan McQuen
85eb74cf8b
Add .gitpod.yml. 2020-07-16 12:57:35 -07:00
Chad Dougherty
523d18b873
feat(try_from_into): Add insufficient length test (#469) 2020-07-13 11:39:05 +02:00
Eli Blaney
c52be7dfcb
docs: Add uninstall info to README.md
* docs: Add uninstall info to README.md
* docs: Format commands as bash block
2020-07-12 08:44:11 +01:00
fmoko
c2bfcf1c54
Merge pull request #468 from benjaminfjones/fix/exercise_whitespace
chore: change exercise whitespace for consistency
2020-07-11 23:12:58 +02:00
Benjamin Jones
bb5f404e35 chore: Alter whitespace for consistency
* Add newline after "I AM DONE" in exercises for consistency
* Remove trailing whitespace from exercises
2020-07-11 11:50:54 -07:00
Philip Pokarowski
106dbbc341
Update README.md (#464) 2020-07-09 09:25:50 +02:00
DEWA Kazuyuki/出羽和之
4b6540c71a
fix(enums3): Update Message::ChangeColor to take a tuple. (#457) 2020-07-08 11:56:43 +02:00
Alexx Roche
816b1f5e85 feat: Remind the user of the hint option (#425)
Suggestion from AbdouSeck https://github.com/rust-lang/rustlings/issues/424#issuecomment-639870331
for when the student's code has errors.
2020-07-08 11:52:23 +02:00
mokou
e823bef970 docs: Add missing closing brackets to changelog 2020-07-08 11:43:08 +02:00
mokou
f9ccc6a289 release: 4.0.0 4.0.0 2020-07-08 11:35:27 +02:00
fmoko
b32a666541
Merge pull request #458 from Sowed/main 2020-07-01 10:19:45 +02:00
iamcastelli
b636825de3
Merge pull request #1 from Sowed/then-to-than-docs-patch
fix: Change then to than
2020-06-27 16:49:39 +04:00
iamcastelli
ddd98ad75d
fix: Change then to than
`than` makes more grammatical sense than `then` in this context.
2020-06-27 15:58:53 +04:00
mokou
d355927024 Merge remote-tracking branch 'origin/master' into main 2020-06-22 04:47:27 +02:00
fmoko
75c0053bb1
Merge pull request #433 from SebastienCaunes/fix#432
fix : Use of integer for prices, therefore also for weight
2020-06-22 00:09:09 +02:00
mokou
55a9284665 chore: Move from master branch to main branch 2020-06-14 14:48:51 +02:00
Alexx Roche
113cdae2d4
fix(arc1): Passively introduce attributes (#429)
Ensure that std::sync::Arc is actually used, as this exercise can be compiled using things already learnt in previous exercises.
2020-06-14 12:15:35 +02:00
fmoko
c6295ade33
Merge pull request #428 from millefalcon/master
Added example with `String` to show the AsRef working
2020-06-13 22:15:57 +02:00
fmoko
e1e453075f
Merge pull request #422 from AbdouSeck/show-tests-prints 2020-06-12 23:04:51 +02:00
Sebastien Caunes
9ca08b8f2b fix : Use of integer for prices, therefore also for weight
rename confusing "from" and "to" to sender_country and recipient_country as suggested
2020-06-11 11:44:47 -05:00
tim bangma
f47d3f422d
docs: Update Invoke-WebRequest to Start-BitsTransfer (#373) 2020-06-10 10:51:03 +02:00
Alexx Roche
e6bd8021d9
fix(generics2): Guide students to the answer (#430) 2020-06-09 13:54:18 +02:00
millefalcon
307252e9ae Added example to show the AsRef working 2020-06-08 07:51:34 -04:00
Alexx Roche
bb2ca25110
fix(box1): fix comment typo (#426)
Doesn't effect the code.
2020-06-06 12:07:39 +02:00
Abdou Seck
9e4fb1009f fix(installation): Provide a backup git reference when tag can't be curl
closes #423

If the parsed JSON data curled during a bash installation is not valid, use the repository's tag files
as a backup. If those files don't exist somehow, then checkout the master branch and install it.
2020-06-05 16:33:14 -04:00
Abdou Seck
8ad5f9bf53 feat: Add a --nocapture option to display test harnesses' outputs
This new feature can be accessed by invoking rustlings with --nocapture.

Both unit and integration tests added.

closes #262

BREAKING CHANGES:
The following function take a new boolean argument:
	* `run`
	* `verify`
	* `test`
	* `compile_and_test`
2020-06-04 11:18:26 -04:00
Abdou Seck
02a2fe4871 Collapse nested if statements 2020-06-04 11:18:09 -04:00
Abdou Seck
40741c5b0b Use .to_string rather than format macro 2020-06-03 17:18:48 -04:00
Alexx Roche
0dd1c6ca6b
fix: rename quiz1 to tests1 in info (#420)
`rustlings run tests1` wasn't working because of this typo.
2020-06-03 20:07:06 +02:00
Alexx Roche
5563adbb89
fix: fix quiz naming inconsistency (#421)
Inconsistent naming when compared with the other quiz files.
2020-06-03 20:06:35 +02:00
Alexx Roche
524e17df10
fix(variables6): minor typo (#419)
Looks like this was cloned from variables5.rs
2020-06-03 13:34:43 +02:00
fmoko
73e848e96f
Merge pull request #416 from danwilhelm/traits-readme
feat: Add traits README
2020-05-30 17:58:31 +02:00
fmoko
5f0806967c
Merge pull request #409 from AlexandruGG/feature/box-exercise 2020-05-30 17:58:16 +02:00