1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/// Concats string(s) to the main API URI.
///
/// # Examples
///
/// ```rust
/// use brawl_api::b_api_concat;
///
/// assert_eq!(
/// b_api_concat!("players/"),
/// "https://api.brawlstars.com/v1/players/"
/// )
/// ```
/// Constructs any Map<Key, Value> type, based on an initializer expression.
///
/// # Examples
/// ```rust,ignore
/// let custom_map = map_build!{
/// MyMap::new();
/// "key" => "val",
/// "other_key" => value,
/// key => "val",
/// }
///
/// // Expands to
///
/// let custom_map = MyMap::new();
/// custom_map.insert("key", "val");
/// custom_map.insert("other_key", value);
/// custom_map.insert(key, "val");
/// ```