Skip to content

Commit

Permalink
Fix hashmap macro example
Browse files Browse the repository at this point in the history
  • Loading branch information
AzureMarker committed Jul 21, 2020
1 parent 580f245 commit 7a19efd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions autopush-common/src/db/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ macro_rules! val {
/// ## Example
///
/// ```
/// #[macro_use] extern crate rusoto_helpers;
/// # fn main() {
/// use autopush_common::hashmap;
///
/// let map = hashmap!{
/// "a" => 1,
Expand All @@ -73,7 +72,6 @@ macro_rules! val {
/// assert_eq!(map["a"], 1);
/// assert_eq!(map["b"], 2);
/// assert_eq!(map.get("c"), None);
/// # }
/// ```
#[macro_export]
macro_rules! hashmap {
Expand Down

0 comments on commit 7a19efd

Please sign in to comment.