Skip to content

Commit

Permalink
Missed a main
Browse files Browse the repository at this point in the history
Signed-off-by: Ana Hobden <operator@hoverbear.org>
  • Loading branch information
Hoverbear committed Jan 20, 2020
1 parent 8ddce03 commit 77e5633
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/lib.rs
Expand Up @@ -117,10 +117,9 @@ mod submodule {
foo.private();
}
}
fn main() {
let mut foo = submodule::Foo::default();
foo.public();
}
let mut foo = submodule::Foo::default();
foo.public();
```
For some purposes, it's useful to have the `get_` prefix on the getters for
Expand Down

0 comments on commit 77e5633

Please sign in to comment.