1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-04-24 19:05:05 +02:00
Commit Graph

236 Commits

Author SHA1 Message Date
Dan 30273a6ee5
Merge branch 'main' into main 2024-03-29 18:29:38 +00:00
Mo 8e87c35c88
Merge pull request #1907 from honeywest/feat/ui-format
feat: ui format
2024-03-27 15:08:28 +01:00
mo8it b24f256f2a Merge branch 'main' into project 2024-03-27 15:06:58 +01:00
mo8it a27741b131 Merge branch 'main' into performance 2024-03-27 15:00:57 +01:00
mo8it f995b4c041 Merge branch 'main' into watch 2024-03-27 14:41:26 +01:00
mo8it b9d2756ce8 Merge branch 'main' into toml 2024-03-27 14:30:10 +01:00
Mo 07dec76f7c
Merge pull request #1916 from mo8it/command
Pipe the output of command to null instead of capturing and ignoring it
2024-03-27 14:24:16 +01:00
mo8it 8e0f7e56f7 Merge branch 'main' into which 2024-03-27 14:18:20 +01:00
mo8it 87001a68c0 The string doesn't have to be a raw string 2024-03-26 17:50:29 +01:00
mo8it a610fc1bc2 Remove unneeded closure 2024-03-26 17:50:10 +01:00
mo8it e89028581c Use == instead of eq 2024-03-26 17:49:55 +01:00
mo8it 980ffa2a2b Use == on simple enums 2024-03-26 17:49:48 +01:00
mo8it 1f2029ae55 Add missing semicolon 2024-03-26 17:49:25 +01:00
mo8it ed0fcf8e3d Formatting 2024-03-26 17:49:05 +01:00
mo8it f36efae25d Only use arg instead of args AND arg 2024-03-26 17:48:06 +01:00
mo8it 853d0593d0 Derive Eq when PartialEq is derived 2024-03-26 17:47:33 +01:00
mo8it 078f6ffc1c Add comments 2024-03-26 02:26:26 +01:00
mo8it 7a6f71f090 Fix context of previous lines and improve readability 2024-03-26 02:14:25 +01:00
mo8it a158c77d81 Add comment 2024-03-25 23:21:14 +01:00
mo8it 8ddbf9635d Add write_project_json 2024-03-25 23:01:56 +01:00
mo8it 8d3ec24c11 Optimize the serialized data types 2024-03-25 22:41:14 +01:00
mo8it a5ba44bd6a RustAnalyzerProject is not deserialized 2024-03-25 22:30:16 +01:00
mo8it f5135ae4df Remove unneeded check if crates is empty 2024-03-25 22:29:33 +01:00
mo8it 87e55ccffd Use the parsed exercises instead of glob 2024-03-25 22:20:00 +01:00
mo8it d911586788 Pipe the output to null instead of capturing and ignoring it 2024-03-25 17:21:54 +01:00
mo8it b932ed1f67 Don't capture stderr 2024-03-25 17:14:41 +01:00
mo8it d095a307dd Avoid allocations on every call to Path::join 2024-03-25 03:59:21 +01:00
mo8it 51712cc19f Merge get_sysroot_src into the constructor 2024-03-25 03:49:10 +01:00
mo8it efa9f57048 Add anyhow 2024-03-25 03:46:56 +01:00
mo8it b3aef377be Use a custom capacity for the JSON buffer 2024-03-25 03:33:14 +01:00
mo8it e4520602f5 Use the NotFound variant of the IO error 2024-03-25 02:41:45 +01:00
mo8it 83cd91ccca Replace toml with toml_edit 2024-03-25 02:35:51 +01:00
mo8it 51b4c240ed Use `which` instead of running `rustc --version` 2024-03-25 00:30:01 +01:00
mo8it bdf826a026 Make "I AM NOT DONE" caseless 2024-03-24 22:22:55 +01:00
mo8it c0c112985b Replace regex with winnow 2024-03-24 19:18:19 +01:00
mo8it f205ee3d4c Call looks_done only once 2024-03-24 18:50:46 +01:00
mo8it e1375ef431 Use to_string_lossy 2024-03-24 18:47:27 +01:00
mo8it 0aeaccc3a5 Optimize state 2024-03-24 18:34:46 +01:00
mo8it 01b7d6334c Remove unneeded to_string call 2024-03-23 22:08:25 +01:00
mo8it a325df55d1 Cache filters 2024-03-23 21:56:40 +01:00
mo8it 27fa7c3e4a Move the const string to the bottom like others 2024-03-23 19:00:15 +01:00
mo8it 0d93266462 Initialize the input buffer with some capacity 2024-03-23 18:56:30 +01:00
mo8it 3dce7e5696 Improvements to watch mode 2024-03-23 18:51:25 +01:00
honeywest e276c12192 feat: ui format 2024-03-21 15:18:50 +08:00
Dan Bond eb952a480d
verify: fix success message spacing
Signed-off-by: Dan Bond <danbond@protonmail.com>
2024-03-18 16:47:54 -07:00
mo8it 1fe32a7ff2 Fix the sysroot path when it contains whitespaces 2024-03-18 01:44:25 +01:00
Kazuki Matsuo 80388c042b
fix(verify): show stdout of the last line 2024-03-16 13:56:34 +09:00
Luca Plian 17ee0e3c7a
optimized the UI code (#1830) 2024-03-15 13:51:24 +01:00
liv 7f530ebf20
Merge pull request #1783 from neuschaefer/fe-nish
Fe-nish line rendering improvements
2023-11-29 17:33:41 +01:00
J. Neuschäfer 12d1bf407a feat(watch): Add red color to the finishing ferris
This adds some eye-candy for users who finish Rustlings. It is based on
ANSI terminal escape sequences and should work in most environments.
2023-11-22 02:07:52 +01:00