about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-06-03 00:29:50 +0800
committerkennytm <kennytm@gmail.com>2018-06-03 00:29:50 +0800
commit0ff8d40fa1c6be4428a65f6539ffe98c83245eab (patch)
tree1cbb31fb2a9fd29f8a3f353e81669f5fc74da947 /src/liballoc
parentd830f46b77bbb97fbff6397f0d9c352a880f796d (diff)
downloadrust-0ff8d40fa1c6be4428a65f6539ffe98c83245eab.tar.gz
rust-0ff8d40fa1c6be4428a65f6539ffe98c83245eab.zip
impl Default for &mut str
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/tests/str.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/tests/str.rs b/src/liballoc/tests/str.rs
index 03d295d16e6..75306ac82df 100644
--- a/src/liballoc/tests/str.rs
+++ b/src/liballoc/tests/str.rs
@@ -1326,6 +1326,7 @@ fn test_str_default() {
 
     t::<&str>();
     t::<String>();
+    t::<&mut str>();
 }
 
 #[test]