Skip to navigation

How to take out /src/main.rs code and put it into an external lib.rs file as your library26.03.21

https://doc.rust-lang.org/book/ch12-03-improving-error-handling-and-modularity.html#splitting-code-into-a-library-crate

Reply

Anonymous

26.03.21
Reply

Anonymous

Solving the next 5% probably costs more than the previous 90%.