aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/rust.eselect2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/rust.eselect b/src/modules/rust.eselect
index 0734798..5e11223 100644
--- a/src/modules/rust.eselect
+++ b/src/modules/rust.eselect
@@ -19,7 +19,7 @@ find_targets() {
for f in "${EROOT}"/usr/bin/rustc-*; do
version=""
[[ -x ${f} ]] && version=`basename "${f}" | awk -F"-" '{ print $2 }'`
- has_version "=dev-lang/rust-${version}" && echo ${version}
+ has_version "~dev-lang/rust-${version}" && echo ${version}
done
}