Skip to content

Commit 6cb392c

Browse files
authored
Fix typo
crate -> create
1 parent 5705ef2 commit 6cb392c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust-2018/macros/macro-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ macro_rules! warn {
191191

192192
So the code knows to look for any macros used locally. But wait - this won't compile, because we
193193
use the `format_args!` macro that isn't in our local crate (hence the convoluted example). The
194-
solution is to add a level of indirection: we crate a macro that wraps `format_args`, but is local
194+
solution is to add a level of indirection: we create a macro that wraps `format_args`, but is local
195195
to our crate. That way everything works in both editions (sadly we have to pollute the global
196196
namespace a bit, but that's ok).
197197

0 commit comments

Comments
 (0)