aboutsummaryrefslogtreecommitdiff
path: root/src/bt.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2019-12-25 01:00:05 +0100
committerDaniel Schadt <kingdread@gmx.de>2019-12-25 01:00:05 +0100
commit0f21a84027fd0ab7b55ddca381a7710c93bda6e1 (patch)
treef7a1a54229bde6d7a3ad7afda5ad23a0e6d344e2 /src/bt.rs
parenta21e3c7b6c8dac839ef8070804580e531faaad69 (diff)
downloadkondou-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.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/bt.rs b/src/bt.rs
index 97fb8c5..c379d1d 100644
--- a/src/bt.rs
+++ b/src/bt.rs
@@ -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`.