1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-22 14:59:37 +02:00
Martin Huschenbett 97a47cab78
Parse into data structures in protobuf example (#1591)
This is a suggestion for how we could make the protobuf exercise at the
end of day 3 better.

Generally speaking, the idea is to parse the protbuf bytes into data
types instead of only printing the parsing outcome to the console. To
make this a little more realistic, we also introduce a trait
`ProtoMessage` for message types.

I think this is more instructive than the current example. In
particular, we get to mess around with lifetimes. This might be a little
more complicated but can be a great opportunity for the students to tie
together different things they've learnt in the course so far.

What do you all think?
2023-12-15 10:00:50 -05:00
..
2023-12-11 16:13:54 -05:00
2023-12-06 12:53:06 -05:00
2023-11-29 16:39:24 +01:00
2023-12-06 12:53:06 -05:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-12-13 18:26:34 -05:00
2023-12-05 18:06:42 -05:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00