aboutsummaryrefslogtreecommitdiff
path: root/src/output.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/output.rs')
-rw-r--r--src/output.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output.rs b/src/output.rs
index 9406571..8d71909 100644
--- a/src/output.rs
+++ b/src/output.rs
@@ -36,7 +36,7 @@ pub fn show_build_template(build: &BuildTemplate) -> io::Result<()> {
color_spec.set_fg(Some(HEADER_COLOR));
color_spec.set_bold(true);
- let mut fields = vec![("Profession:", build.profession().to_string())];
+ let mut fields = vec![("Profession:", build.profession().name.clone())];
fields.push(("Skills:", format_skill(&build.skills()[0])));
for skill in build.skills().iter().skip(1) {