From 0f21a84027fd0ab7b55ddca381a7710c93bda6e1 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 25 Dec 2019 01:00:05 +0100 Subject: remove BuildTemplate::empty() The function was never used, and it is very easy to emulate using the other available constructor. --- src/bt.rs | 10 ---------- 1 file changed, 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`. -- cgit v1.2.3