Skip to content

Commit

Permalink
correct field name
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Aug 4, 2021
1 parent ecfca54 commit 46551cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sample-projects/rust/src/main.rs
Expand Up @@ -6,14 +6,14 @@ fn main() {
}

struct Foo {
fieldName: String,
field_name: String,
count: u8,
}

impl Foo {
pub fn new(bar: String) -> Foo {
Foo {
fieldName: bar,
field_name: bar,
count: 0
}
}
Expand Down

0 comments on commit 46551cc

Please sign in to comment.