Skip to content

Commit 6fe1892

Browse files
committed
Changes to reflect what is on SurveyHero.
1 parent 16f8473 commit 6fe1892

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

surveys/micro/2025-09-variadic-use-cases.md renamed to surveys/2025/variadic-generics-survey/2025-09-variadic-use-cases.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ let value: u32 = (0, 0.5, "hello", Some("hello"), false).do_stuff();
2323

2424
See [Analysing variadics, and how to add them to Rust](https://poignardazur.github.io/2021/01/30/variadic-generics/) for a full overview of features associated with variadic generics, and possible use-cases.
2525

26-
This survey is fully anonymous. The Rust survey team will go through the answers and release a summary on the Rust blog after the survey is complete. It's fairly short and should take less than 10 minutes to complete.
26+
This survey is fully anonymous and should take you approximately 5 minutes to complete.
2727

2828

2929
### How long have you been using Rust?
3030

3131
Type: select one (optional)
3232

33-
Never
34-
Zero to two years
35-
Two to four years
36-
Four to six years
37-
More than six years
33+
- Never
34+
- Zero to two years
35+
- Two to four years
36+
- Four to six years
37+
- More than six years
3838

3939

4040
### Have you heard about variadic generics before?
@@ -59,7 +59,7 @@ Type: select one
5959
- Yes
6060
- No [`NEXT`](#variadic-type-mappings)
6161

62-
### Can you give more details about the project?
62+
### Can you give more details about the use-case?
6363

6464
Please write a description of the project and what you would have needed variadics for.
6565
Be as detailed as you like, more detail is better.
@@ -90,7 +90,7 @@ let opened_gifts = my_gift_boxes.unwrap_all();
9090
assert_eq!(opened_gifts, (1, true, "hello"));
9191
```
9292

93-
In that example, the trait `UnwrapAll` maps `u32, bool, &str` to `Option<u32>, Option<bool>, Option<&str>`.
93+
In the above example, the trait `UnwrapAll` maps `(Option<u32>, Option<bool>, Option<&str>)` to `(u32, bool, &str)`.
9494

9595
### Are there cases where variadic mappings would have made your project easier?
9696

@@ -104,7 +104,9 @@ Type: select one
104104

105105
Be as detailed as you like, more detail is better.
106106

107-
If it's the same project as before, you can include more details about how you would have used variadic mappings specifically.
107+
If it is the same project as before, you can include more details about how you would have used variadic mappings specifically.
108+
109+
If you do not have anything to add, leave the answer empty.
108110

109111
Type: free text (optional)
110112

@@ -141,6 +143,8 @@ Be as detailed as you like, more detail is better.
141143

142144
If it's the same project as before, you can include more details about how you would have used non-linear variadics specifically.
143145

146+
If you do not have anything to add, leave the answer empty.
147+
144148
Type: free text (optional)
145149

146150

0 commit comments

Comments
 (0)