Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sonicfromnewyoke
Copy link

Problem

current content.rs was a huge 520 LOC file which is not so easy to maintain and has misleading name because this file contains templates

Solution

  • rename content.rs into templates module
  • extract each module into dedicated file
  • simplify naming for minimal generation: templates::minimal_templates::minimal_cargo_toml(...) -> templates::minimal::cargo_toml(...)
  • fix println_empty_string clippy warning

cc @A91y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant