Skip to content

Commit

Permalink
Fix typo in readme (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
whs-dot-hk authored Sep 29, 2023
1 parent a96ce1e commit e18ce4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ let hash_map = rust::import("std::collections", "HashMap");

let tokens: rust::Tokens = quote! {
fn main() {
let mut m = #hash_map::new();
let mut m = $hash_map::new();
m.insert(1u32, 2u32);
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
//!
//! let tokens: rust::Tokens = quote! {
//! fn main() {
//! let mut m = #hash_map::new();
//! let mut m = $hash_map::new();
//! m.insert(1u32, 2u32);
//! }
//! };
Expand Down

0 comments on commit e18ce4a

Please sign in to comment.