Rename and move main() into example.rs