diff options
author | Seiichi Uchida <seuchida@gmail.com> | 2018-02-14 22:30:15 +0900 |
---|---|---|
committer | Seiichi Uchida <seuchida@gmail.com> | 2018-02-18 00:10:40 +0900 |
commit | 291c51b9c8abe254216da4e954c5f6696a52da8f (patch) | |
tree | 21b9b74b40552cb09bf7648357f81660d0c37de4 /src/librustc_allocator | |
parent | b5099a708d67ed165c5ebcfc2c55b1cdf2ad86bc (diff) | |
download | rust-291c51b9c8abe254216da4e954c5f6696a52da8f.tar.gz |
Fix up tests and typos
Diffstat (limited to 'src/librustc_allocator')
-rw-r--r-- | src/librustc_allocator/expand.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/librustc_allocator/expand.rs b/src/librustc_allocator/expand.rs index 26a7f50b997..c088458c355 100644 --- a/src/librustc_allocator/expand.rs +++ b/src/librustc_allocator/expand.rs @@ -97,7 +97,11 @@ impl<'a> Folder for ExpandAllocatorDirectives<'a> { ]); let mut items = vec![ f.cx.item_extern_crate(f.span, f.alloc), - f.cx.item_use_simple(f.span, respan(f.span.empty(), VisibilityKind::Inherited), super_path), + f.cx.item_use_simple( + f.span, + respan(f.span.empty(), VisibilityKind::Inherited), + super_path, + ), ]; for method in ALLOCATOR_METHODS { items.push(f.allocator_fn(method)); |