diff options
author | Matan Kushner <hello@matchai.me> | 2019-07-14 11:15:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-14 11:15:47 -0400 |
commit | 77ba97df191c5cebb3b0a9126e7e97fff28b0628 (patch) | |
tree | b970f19bffd5f13c3a764b3cbd32581305bf777b /src/modules/python.rs | |
parent | 79bfc7cf49a051544facb1ae27d734d1bb50f9fc (diff) |
chore: Refactor getting string values from config (#94)
Diffstat (limited to 'src/modules/python.rs')
-rw-r--r-- | src/modules/python.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/python.rs b/src/modules/python.rs index a1a36cd3a..dbee151c8 100644 --- a/src/modules/python.rs +++ b/src/modules/python.rs @@ -31,7 +31,7 @@ pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> { let formatted_version = format_python_version(python_version); module.new_segment("symbol", PYTHON_CHAR); - module.new_segment("version", formatted_version); + module.new_segment("version", &formatted_version); Some(module) } |