mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-11-21 13:25:53 +02:00
Fix inclusion of PhoneNumber
in exercise (#2426)
The anchor used the wrong name. This was not caught by our tests because the code isn’t expected to compile, even when this is included.
This commit is contained in:
parent
47c3d50542
commit
466233d959
@ -154,7 +154,7 @@ fn parse_message<'a, T: ProtoMessage<'a>>(mut data: &'a [u8]) -> T {
|
||||
// ANCHOR_END: parse_message
|
||||
|
||||
#[derive(PartialEq)]
|
||||
// ANCHOR: message_message_phone_number_type
|
||||
// ANCHOR: message_phone_number_type
|
||||
#[derive(Debug, Default)]
|
||||
struct PhoneNumber<'a> {
|
||||
number: &'a str,
|
||||
|
Loading…
Reference in New Issue
Block a user