#3 [Example/Bug] Improve doc_example

Lezárt
megnyitva ekkor: 3 hónapja david által · 0 hozzászólás

It doesn't have Person derive Debug to quickly print out the Person's fields (As such the println ends up doing what Debug would do, less clean)

It's a simple fix...

#[derive(Debug)]
struct Person {
  ...
}

Maybe moving the comment about not needing to derive Clone, or remove it as Clone is unneeded

It doesn't have Person derive Debug to quickly print out the Person's fields (As such the println ends up doing what Debug would do, less clean) It's a simple fix... ```rust #[derive(Debug)] struct Person { ... } ``` Maybe moving the comment about not needing to derive Clone, or remove it as Clone is unneeded
David Thielemann hivatkozott erre a hibajegyre egy commit-ban ekkor: 3 hónapja
david lezárta ekkor: 3 hónapja
David Thielemann hivatkozott erre a hibajegyre egy commit-ban ekkor: 3 hónapja
Jelentkezzen be hogy csatlakozhasson a beszélgetéshez.
Nincs mérföldkő
Nincs megbízott
1 Résztvevő
Töltés...
Mégse
Mentés
Még nincs tartalom.