From ffeb16363f7bc2cbdb7069692bdb340bf34552df Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 12 Apr 2020 12:01:42 +0100 Subject: [PATCH] this is a lib, not a standalone project --- src/{main.rs => lib.rs} | 4 ---- 1 file changed, 4 deletions(-) rename src/{main.rs => lib.rs} (99%) diff --git a/src/main.rs b/src/lib.rs similarity index 99% rename from src/main.rs rename to src/lib.rs index fe2df0b..c843b7e 100644 --- a/src/main.rs +++ b/src/lib.rs @@ -1352,7 +1352,3 @@ fn test_game_to_string() { let expected = include_str!["../test/resources/default.bitsy"].to_string(); assert_eq!(output, expected); } - -fn main() { - println!("why does a crate need a main function?"); -}