Skip to content

Commit

Permalink
Add new example for deriving the debug trait
Browse files Browse the repository at this point in the history
  • Loading branch information
mre committed Dec 16, 2018
1 parent e9a6330 commit d0ed438
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/debug.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#[derive(Debug)]
struct Point {
x: i32,
y: i32,
}

0 comments on commit d0ed438

Please sign in to comment.