You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
25
25
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 anonymousand should take you approximately 5 minutes to complete.
27
27
28
28
29
29
### How long have you been using Rust?
30
30
31
31
Type: select one (optional)
32
32
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
38
38
39
39
40
40
### Have you heard about variadic generics before?
@@ -59,7 +59,7 @@ Type: select one
59
59
- Yes
60
60
- No [`NEXT`](#variadic-type-mappings)
61
61
62
-
### Can you give more details about the project?
62
+
### Can you give more details about the use-case?
63
63
64
64
Please write a description of the project and what you would have needed variadics for.
65
65
Be as detailed as you like, more detail is better.
@@ -90,7 +90,7 @@ let opened_gifts = my_gift_boxes.unwrap_all();
90
90
assert_eq!(opened_gifts, (1, true, "hello"));
91
91
```
92
92
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)`.
94
94
95
95
### Are there cases where variadic mappings would have made your project easier?
96
96
@@ -104,7 +104,9 @@ Type: select one
104
104
105
105
Be as detailed as you like, more detail is better.
106
106
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.
108
110
109
111
Type: free text (optional)
110
112
@@ -141,6 +143,8 @@ Be as detailed as you like, more detail is better.
141
143
142
144
If it's the same project as before, you can include more details about how you would have used non-linear variadics specifically.
143
145
146
+
If you do not have anything to add, leave the answer empty.
0 commit comments