Skip to content

Commit dc39a6e

Browse files
committed
clarify that projectable also affects ProjectMut
1 parent 0528fb8 commit dc39a6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ops.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ use crate::{
1111
/// ident in the expressions `@base->field` and `@mut base->field` refer to a field of the type
1212
/// `Self::Inner`.
1313
///
14-
/// If the projection `@base->field` is available still depends on whether `Self` implements
15-
/// `Project<field_of!(Self::Inner, field)>`.
14+
/// If the projection `@[mut] base->field` is available still depends on whether `Self` implements
15+
/// `Project[Mut]<field_of!(Self::Inner, field)>`.
1616
pub trait Projectable: Sized {
1717
type Inner: ?Sized;
1818
}

0 commit comments

Comments
 (0)