1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-16 14:53:28 +02:00
comprehensive-rust/src
Martin Huschenbett 302a03bbe3
Remove unnecessary syntax in protobuf example (#1592)
`Ok(x?)` has the same outcome as `x` and save an unpacking/repacking
cycle.

`x as usize` has no effect when `x` already has type `usize`.

In `x < 4usize` the `usize` is unnecessary when `x` already has type
`usize`.
2023-12-14 16:02:40 +01:00
..
android Fix spelling of CXX and Cargo (mostly in the Chromium part). (#1549) 2023-12-01 10:21:47 -08:00
async Re-apply formatting to SUMMARY.md (#1429) 2023-12-01 13:20:28 -05:00
bare-metal Re-apply formatting to SUMMARY.md (#1429) 2023-12-01 13:20:28 -05:00
borrowing More tiny fixes (#1577) 2023-12-11 16:13:54 -05:00
cargo Update rust-ecosystem.md to fix typo (#1504) 2023-11-29 09:11:30 +00:00
chromium Update depending-on-a-crate.md (#1570) 2023-12-08 07:07:13 -08:00
concurrency Replace hyphens (-) with em-dashes () (#1500) 2023-11-28 19:41:09 +01:00
control-flow-basics Various small fixes (#1556) 2023-12-05 18:06:42 -05:00
error-handling More minor fixes (#1561) 2023-12-06 12:53:06 -05:00
exercises Chromium: Add redox_syscall to speaker notes for the third-party exercise. (#1571) 2023-12-11 07:21:53 -08:00
generics Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
hello-world Fix outdated references to “three days” (#1563) 2023-12-06 12:55:34 -05:00
iterators More minor fixes (#1561) 2023-12-06 12:53:06 -05:00
memory-management Minor updates based on instruction (#1583) 2023-12-13 12:51:34 +00:00
methods-and-traits Use type annotation instead of turbo fish in method chapter (#1558) 2023-12-06 14:16:01 +00:00
modules Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
pattern-matching Various small fixes (#1556) 2023-12-05 18:06:42 -05:00
references Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
running-the-course Fixing a typo (#1588) 2023-12-13 18:26:34 -05:00
slices-and-lifetimes Remove unnecessary syntax in protobuf example (#1592) 2023-12-14 16:02:40 +01:00
smart-pointers Use a type alias in binary tree exercise (#1589) 2023-12-13 19:53:35 +00:00
std-traits Various small fixes (#1556) 2023-12-05 18:06:42 -05:00
std-types Having a Vec allows accessing mutating slice methods, too (#1578) 2023-12-12 10:02:10 -05:00
testing Fix mock example and move it to a file for testing (#1548) 2023-12-01 23:19:10 +01:00
tuples-and-arrays Remove incorrect comment about moving arrays (#1547) 2023-12-01 13:37:37 -05:00
types-and-values Fix Fibonacci numbers example (#1529) 2023-11-30 09:46:13 -05:00
unsafe-rust Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
user-defined-types Clarify completion condition for elevator exercise (#1574) 2023-12-11 19:12:40 +00:00
android.md Add course and session markers for deep-dives (#1521) 2023-11-30 09:26:21 -05:00
async.md Add course and session markers for deep-dives (#1521) 2023-11-30 09:26:21 -05:00
bare-metal.md Add course and session markers for deep-dives (#1521) 2023-11-30 09:26:21 -05:00
borrowing.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
cargo.md Consolidate editor recommendations in main text (#1217) 2023-09-18 18:37:59 +02:00
chromium.md Add course and session markers for deep-dives (#1521) 2023-11-30 09:26:21 -05:00
concurrency.md Add course and session markers for deep-dives (#1521) 2023-11-30 09:26:21 -05:00
control-flow-basics.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
credits.md Revert minimum wrong example (#1483) 2023-11-19 11:40:57 +01:00
error-handling.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
generics.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
glossary.md Add trait bounds to glossary (#1569) 2023-12-10 17:05:11 +01:00
hello-world.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
index.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
iterators.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
memory-management.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
methods-and-traits.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
modules.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
other-resources.md Revert "Update other-resources.md" (#1477) 2023-11-13 09:28:22 -08:00
pattern-matching.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
references.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
running-the-course.md Various small fixes (#1556) 2023-12-05 18:06:42 -05:00
slices-and-lifetimes.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
smart-pointers.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
std-traits.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
std-types.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
SUMMARY.md Title-casing in section titles (#1557) 2023-12-07 18:06:18 -08:00
testing.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
thanks.md Add course and session markers for deep-dives (#1521) 2023-11-30 09:26:21 -05:00
tuples-and-arrays.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
types-and-values.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
unsafe-rust.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
user-defined-types.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
welcome-day-1-afternoon.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
welcome-day-1.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
welcome-day-2-afternoon.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
welcome-day-2.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
welcome-day-3-afternoon.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
welcome-day-3.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
welcome-day-4-afternoon.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00
welcome-day-4.md Comprehensive Rust v2 (#1073) 2023-11-29 16:39:24 +01:00