fix(using_as): Add test so that proper type is returned. (#512)

This commit is contained in:
Ryan McQuen
2020-09-07 10:09:27 -07:00
committed by GitHub
parent ee7cdc66b3
commit 3286c5ec19
2 changed files with 12 additions and 1 deletions

View File

@@ -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."""