File: macros_full_path.rs

package info (click to toggle)
rust-indexmap 2.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 912 kB
  • sloc: makefile: 2
file content (20 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#![cfg(feature = "std")]
#[test]
fn test_create_map() {
    let _m = indexmap::indexmap! {
        1 => 2,
        7 => 1,
        2 => 2,
        3 => 3,
    };
}

#[test]
fn test_create_set() {
    let _s = indexmap::indexset! {
        1,
        7,
        2,
        3,
    };
}