diff options
author | Daniel Schadt <kingdread@gmx.de> | 2019-12-25 01:00:05 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2019-12-25 01:00:05 +0100 |
commit | 0f21a84027fd0ab7b55ddca381a7710c93bda6e1 (patch) | |
tree | f7a1a54229bde6d7a3ad7afda5ad23a0e6d344e2 /src/bt.rs | |
parent | a21e3c7b6c8dac839ef8070804580e531faaad69 (diff) | |
download | kondou-0f21a84027fd0ab7b55ddca381a7710c93bda6e1.tar.gz kondou-0f21a84027fd0ab7b55ddca381a7710c93bda6e1.tar.bz2 kondou-0f21a84027fd0ab7b55ddca381a7710c93bda6e1.zip |
remove BuildTemplate::empty()
The function was never used, and it is very easy to emulate using the
other available constructor.
Diffstat (limited to 'src/bt.rs')
-rw-r--r-- | src/bt.rs | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -167,16 +167,6 @@ pub struct BuildTemplate { } impl BuildTemplate { - /// Returns a template without any skills or traitlines. - pub fn empty(profession: Profession) -> BuildTemplate { - BuildTemplate { - profession, - skills: EMPTY_SKILLS, - traitlines: EMPTY_TRAITLINES, - extra_data: ExtraData::None, - } - } - /// Creates a template with the given skills and traitlines. /// /// If there are more than 5 skills or 3 traitlines given, the function will return `None`. |