mirror of
https://github.com/openharmony/third_party_rust_bitflags.git
synced 2026-07-19 20:03:32 -04:00
Clarify purpose of libcore re-export
This commit is contained in:
+2
-2
@@ -225,8 +225,8 @@
|
||||
#[macro_use]
|
||||
extern crate std;
|
||||
|
||||
// Re-export libstd/libcore using an alias so that the macros can work in no_std
|
||||
// crates while remaining compatible with normal crates.
|
||||
// Re-export libcore using an alias so that the macros can work without
|
||||
// requiring `extern crate core` downstream.
|
||||
#[doc(hidden)]
|
||||
pub extern crate core as _core;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user