summaryrefslogtreecommitdiff
path: root/library/src/meta/reference.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-05-11 11:36:25 +0200
committerLaurenz <laurmaedje@gmail.com>2023-05-11 11:36:25 +0200
commit8ac7be95e660da3e67ac499410450793eaa18429 (patch)
treed6dc3a54747ef9d9ca445e2d705d25ca945a67e8 /library/src/meta/reference.rs
parent998a3c44fd79eac92c375ec9e755288bc146a279 (diff)
Documentation fixes
Diffstat (limited to 'library/src/meta/reference.rs')
-rw-r--r--library/src/meta/reference.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/library/src/meta/reference.rs b/library/src/meta/reference.rs
index ceb1a3b2..e4b6bbec 100644
--- a/library/src/meta/reference.rs
+++ b/library/src/meta/reference.rs
@@ -245,10 +245,9 @@ cast_to_value! {
}
}
-/// Marks an element as being able to be referenced.
-/// This is used to implement the `@ref` macro.
-/// It is expected to build the [`Content`] that gets linked
-/// by the [`RefElement`].
+/// Marks an element as being able to be referenced. This is used to implement
+/// the `@ref` element. It is expected to build the [`Content`] that gets linked
+/// by the [`RefElem`].
pub trait Refable {
/// Tries to build a reference content for this element.
///