summaryrefslogtreecommitdiff
path: root/info.toml
diff options
context:
space:
mode:
authorRyan McQuen <rpcm@linux.com>2020-09-07 10:09:27 -0700
committerGitHub <noreply@github.com>2020-09-07 19:09:27 +0200
commit3286c5ec19ea5fb7ded81d047da5f8594108a490 (patch)
tree9a92a759a4d0ca283a8d174d3b4b60a6f5b6f606 /info.toml
parentee7cdc66b31673c0fb02de0ce732812f855e69e8 (diff)
fix(using_as): Add test so that proper type is returned. (#512)
Diffstat (limited to 'info.toml')
-rw-r--r--info.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/info.toml b/info.toml
index a64509e..2e90f13 100644
--- a/info.toml
+++ b/info.toml
@@ -787,7 +787,7 @@ what you've learned :)"""
[[exercises]]
name = "using_as"
path = "exercises/conversions/using_as.rs"
-mode = "compile"
+mode = "test"
hint = """
Use the `as` operator to cast one of the operands in the last line of the
`average` function into the expected return type."""