Skip to content

Commit 54d9ebd

Browse files
committed
Fix documentation warnings about non-existing links
1 parent c5ef368 commit 54d9ebd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

internal/compiler/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ declare_syntax! {
369369
AtLinearGradient -> [*Expression],
370370
/// expression()
371371
FunctionCallExpression -> [*Expression],
372-
/// expression[index]
372+
/// `expression[index]`
373373
IndexExpression -> [2 Expression],
374374
/// `expression += expression`
375375
SelfAssignment -> [2 Expression],

internal/core/model.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ type ComponentRc<C> = vtable::VRc<crate::component::ComponentVTable, C>;
2929

3030
/// Represent a handle to a view that listens to changes to a model.
3131
///
32-
/// See [`Model::attach_peer`] and [`ModelNotify`]
32+
/// One should normally not use this class directly, it is just
33+
/// used internally by via [`ModelTracker::attach_peer`] and [`ModelNotify`]
3334
#[derive(Clone)]
3435
pub struct ModelPeer {
3536
// FIXME: add a lifetime to ModelPeer so we can put the DependencyNode directly in the Repeater

0 commit comments

Comments
 (0)