Skip to content

Commit

Permalink
Adjust doc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AljoschaMeyer committed May 10, 2019
1 parent 37f8046 commit f519c66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hash/map.rs
Expand Up @@ -1144,7 +1144,7 @@ where
/// # fn main() {
/// let map1 = ordmap!{1 => 1, 3 => 4};
/// let map2 = ordmap!{2 => 2, 3 => 5};
/// let expected = ordmap!{1 => 1, 2 => 2};
/// let expected = ordmap!{1 => 1};
/// assert_eq!(expected, map1.relative_complement(map2));
/// # }
/// ```
Expand Down
2 changes: 1 addition & 1 deletion src/ord/map.rs
Expand Up @@ -1108,7 +1108,7 @@ where
/// # fn main() {
/// let map1 = ordmap!{1 => 1, 3 => 4};
/// let map2 = ordmap!{2 => 2, 3 => 5};
/// let expected = ordmap!{1 => 1, 2 => 2};
/// let expected = ordmap!{1 => 1};
/// assert_eq!(expected, map1.relative_complement(map2));
/// # }
/// ```
Expand Down

0 comments on commit f519c66

Please sign in to comment.