Rock070
|
f996183355
|
Refactor longest function to use lifetimes
|
2024-01-05 00:28:10 +08:00 |
|
Rock070
|
b3fbab1791
|
Refactor some_func to accept a generic type implementing SomeTrait and OtherTrait
|
2024-01-03 00:37:32 +08:00 |
|
Rock070
|
1f926b4358
|
Refactor compare_license_types function
|
2024-01-03 00:28:39 +08:00 |
|
Rock070
|
4cf7b33094
|
Implement licensing_info method in Licensed trait
|
2024-01-03 00:19:11 +08:00 |
|
Rock070
|
46060cf08f
|
Implement AppendBar trait for Vec<String>
|
2024-01-03 00:16:38 +08:00 |
|
Rock070
|
6d67fc122f
|
Implement AppendBar trait for String type
|
2024-01-02 23:56:12 +08:00 |
|
Rock070
|
7e523787e1
|
Refactor Wrapper struct to use generics
|
2024-01-02 23:47:45 +08:00 |
|
Rock070
|
344f62c9d3
|
Fix type annotation for shopping_list
|
2024-01-02 23:47:42 +08:00 |
|
Rock070
|
3136192b9b
|
Add error conversion function and handle parse errors in parse_pos_nonzero
|
2023-12-31 04:27:26 +08:00 |
|
Rock070
|
608ce4ffac
|
Update return type of main() to use Box<dyn Error>
|
2023-12-31 04:05:36 +08:00 |
|
Rock070
|
5a9c46b51e
|
Fix error handling in PositiveNonzeroInteger::new()
|
2023-12-31 04:02:19 +08:00 |
|
Rock070
|
dcd82188c3
|
Fix error handling in main function
|
2023-12-31 03:56:39 +08:00 |
|
Rock070
|
77fd6a3a1b
|
Refactor total_cost function to handle parsing errors
|
2023-12-31 03:45:53 +08:00 |
|
Rock070
|
844dff4902
|
Refactor generate_nametag_text to return a Result instead of an Option
|
2023-12-31 03:39:29 +08:00 |
|
Rock070
|
43f6907aa1
|
Fix match statement in options3.rs
|
2023-12-31 03:25:21 +08:00 |
|
Rock070
|
9e0f7510d9
|
Refactor options2.rs: Use if let and while let statements
|
2023-12-31 03:22:56 +08:00 |
|
Rock070
|
439778465d
|
Fix maybe_icecream function to handle time_of_day correctly
|
2023-12-31 03:17:45 +08:00 |
|
Rock070
|
b4cf7e4ef8
|
Fix visibility of make_sausage function
|
2023-12-31 02:35:15 +08:00 |
|
Rock070
|
9203b20a52
|
Refactor build_scores_table function to update goals scored and conceded
|
2023-12-30 18:25:07 +08:00 |
|
Rock070
|
b42cfb167d
|
Add new fruits to the basket if not already present
|
2023-12-30 17:15:50 +08:00 |
|
Rock070
|
551793f249
|
Add more fruits to the fruit basket
|
2023-12-30 17:04:03 +08:00 |
|
Rock070
|
b2b6dad75e
|
Refactor string functions
|
2023-12-30 16:52:54 +08:00 |
|
Rock070
|
13c442ec31
|
Fix string manipulation functions
|
2023-12-30 16:49:44 +08:00 |
|
Rock070
|
c0768cc4da
|
Fix function argument in strings2.rs
|
2023-12-30 16:49:41 +08:00 |
|
Rock070
|
27d1c37b1c
|
Fix current_favorite_color function to return a String
|
2023-12-30 12:13:20 +08:00 |
|
Rock070
|
23a2a21036
|
Fix if statement in if1.rs and implement message variants in enums3.rs
|
2023-12-30 12:12:00 +08:00 |
|
Rock070
|
cac63c180d
|
Add variants to Message enum
|
2023-12-23 11:47:10 +08:00 |
|
Rock070
|
73d43b3f90
|
Add message types to enum
|
2023-12-23 11:38:47 +08:00 |
|
Rock070
|
b480c57095
|
Refactor is_international and get_fees methods in Package struct
|
2023-12-23 11:38:04 +08:00 |
|
Rock070
|
aea00abd1c
|
Update order creation in structs2.rs
|
2023-12-23 11:31:19 +08:00 |
|
Rock070
|
853394ec14
|
Add color struct definitions and instantiate structs
|
2023-12-23 11:18:37 +08:00 |
|
Rock070
|
778452a921
|
Refactor function parameters in move_semantics6.rs
|
2023-12-17 16:37:19 +08:00 |
|
Rock070
|
1a956075a0
|
Refactor mutable borrowing in move_semantics5.rs
|
2023-12-17 16:25:54 +08:00 |
|
Rock070
|
d1a3ab5c54
|
Refactor fill_vec function to create and fill the Vec internally
|
2023-12-17 16:20:42 +08:00 |
|
Rock070
|
a898c058fc
|
Refactor fill_vec function to accept a mutable reference
|
2023-12-17 16:17:24 +08:00 |
|
Rock070
|
1c51ad049f
|
Refactor fill_vec function to take a mutable reference to vec
|
2023-12-17 16:00:15 +08:00 |
|
Rock070
|
4fd794e942
|
Refactor fill_vec to take a mutable reference to vec
|
2023-12-17 15:53:22 +08:00 |
|
Rock070
|
51775de8dc
|
Fix multiplication logic in vec_loop and vec_map functions
|
2023-12-17 15:42:04 +08:00 |
|
Rock070
|
294c97b9fc
|
Declare vector using macro in vecs1.rs
|
2023-12-17 00:06:16 +08:00 |
|
Rock070
|
86d4b548b7
|
Fix function signatures and logic
|
2023-12-17 00:03:00 +08:00 |
|
Rock070
|
8de470b723
|
Update call_me function to accept a parameter
|
2023-12-17 00:02:56 +08:00 |
|
Rock070
|
d417017f6c
|
Fix parameter type in call_me function
|
2023-12-17 00:02:51 +08:00 |
|
Rock070
|
33a8b24bc5
|
Add call_me function to print "Hello World!"
|
2023-12-17 00:02:42 +08:00 |
|
Rock070
|
fa29595ab2
|
Update variable initialization and type declaration
|
2023-12-15 02:09:11 +08:00 |
|
Rock070
|
30dbdbe55e
|
Update variable initialization in main function
|
2023-12-15 02:09:08 +08:00 |
|
Rock070
|
92ce842ad2
|
Fix variable assignment in main function
|
2023-12-15 01:59:56 +08:00 |
|
Rock070
|
b4779c5ea1
|
Fix printline to println in intro2.rs
|
2023-12-15 01:59:53 +08:00 |
|
Rock070
|
8fea9a43ab
|
Remove unfinished code in intro1.rs
|
2023-12-15 01:59:49 +08:00 |
|
liv
|
88b583f2bb
|
Merge pull request #1793 from rust-lang/all-contributors/add-bastianpedersen
docs: add bastianpedersen as a contributor for content
|
2023-11-29 17:39:57 +01:00 |
|
allcontributors[bot]
|
8863855627
|
docs: update .all-contributorsrc [skip ci]
|
2023-11-29 16:39:44 +00:00 |
|