mirror of
https://github.com/openharmony/third_party_rust_static-assertions-rs.git
synced 2026-07-19 16:53:36 -04:00
Link directly to object safety section in docs
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
/// # }
|
||||
/// ```
|
||||
///
|
||||
/// [object]: https://doc.rust-lang.org/book/2018-edition/ch17-02-trait-objects.html
|
||||
/// [object]: https://doc.rust-lang.org/book/2018-edition/ch17-02-trait-objects.html#object-safety-is-required-for-trait-objects
|
||||
#[macro_export]
|
||||
macro_rules! assert_obj_safe {
|
||||
($($xs:ty),+ $(,)*) => {
|
||||
|
||||
Reference in New Issue
Block a user