mirror of
https://github.com/openharmony/third_party_rust_static-assertions-rs.git
synced 2026-07-19 16:53:36 -04:00
Make failing case clear in assert_cfg docs
This commit is contained in:
+2
-1
@@ -88,7 +88,8 @@ pub extern crate core as _core;
|
||||
/// # fn main() {}
|
||||
/// ```
|
||||
///
|
||||
/// We can't be compiling for both Unix _and_ Windows simultaneously:
|
||||
/// Some configurations are impossible. For example, we can't be compiling for
|
||||
/// both Unix _and_ Windows simultaneously:
|
||||
///
|
||||
/// ```compile_fail
|
||||
/// # #[macro_use] extern crate static_assertions;
|
||||
|
||||
Reference in New Issue
Block a user