Skip to content

Commit 592f118

Browse files
Update crates/cxx-qt-lib/src/core/qflags/qflag.rs
Co-authored-by: Leon Matthes <leon.matthes@kdab.com>
1 parent 06121d3 commit 592f118

File tree

1 file changed

+1
-5
lines changed
  • crates/cxx-qt-lib/src/core/qflags

1 file changed

+1
-5
lines changed

crates/cxx-qt-lib/src/core/qflags/qflag.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@ use cxx::ExternType;
1818
pub unsafe trait QFlag: Sized {
1919
/// A type-level representation of the C++ namespace and type name of this type's `QFlags<T>`.
2020
///
21-
/// This will always be defined using `type_id!` in the following form:
22-
///
23-
/// ```ignore
24-
/// type TypeId = cxx::type_id!("QFlags_MyType");
25-
/// ```
21+
/// This will always be defined using [cxx::type_id!].
2622
type TypeId;
2723
/// The backing integer representation of `Self`.
2824
/// For example, if the enum is defined with `#[repr(i32)]`, then `Repr` should be `i32`.

0 commit comments

Comments
 (0)