1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-15 22:00:26 +02:00

More tiny fixes (#1577)

This commit is contained in:
Marshall Pierce
2023-12-11 14:13:54 -07:00
committed by GitHub
parent e765159be1
commit e41ab44a38
4 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ minutes: 30
{{#include ../../third_party/rust-on-exercism/health-statistics.md}}
Copy the code below to <https://play.rust-lang.org/> and fill in the missing
methods:
method:
```rust
// TODO: remove this when you're done with your implementation.

View File

@ -47,7 +47,7 @@ What remains for you is to implement the `parse_field` function.
{{#include exercise.rs:parse_field }}
// 1. Read and unpack the tag.
// 1. Read and unpack the tag, which is a varint.
// 2. Based on the wire type, build a Field, consuming as many bytes as
// necessary.
// 3. Return the field, and any un-consumed bytes.

View File

@ -14,7 +14,7 @@ Implement the following types, so that the given tests pass.
```rust,editable
{{#include exercise.rs:types}}
// Implement `new`, `insert`, and `has`.
// Implement `new`, `insert`, `len`, and `has`.
{{#include exercise.rs:tests}}
```