We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a49351 commit 19c07ccCopy full SHA for 19c07cc
src/test/ui/async-await/return-ty-unsize-coercion.rs
@@ -33,11 +33,11 @@ fn unsize_slice_coercion() {
33
34
// Unsizing coercion from `&[&str; 1]` to `&[&str]`
35
fn unsize_slice_str_coercion() {
36
- fn func() -> &'static [&'static str] {
+ fn sync_example() -> &'static [&'static str] {
37
&["hi"]
38
}
39
40
- async fn func() -> &'static [&'static str] {
+ async fn async_example() -> &'static [&'static str] {
41
42
43
0 commit comments