mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-29 21:49:33 +00:00
Fix docs references in ui
(#4147)
This PR fixes some more references in the docs in the `ui` crate. Release Notes: - N/A
This commit is contained in:
parent
decf320a74
commit
03826be196
3 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ impl Avatar {
|
|||
|
||||
/// Sets the shape of the avatar image.
|
||||
///
|
||||
/// This method allows the shape of the avatar to be specified using a [`Shape`].
|
||||
/// This method allows the shape of the avatar to be specified using an [`AvatarShape`].
|
||||
/// It modifies the corner radius of the image to match the specified shape.
|
||||
///
|
||||
/// # Examples
|
||||
|
|
|
@ -20,7 +20,7 @@ impl AvatarAvailabilityIndicator {
|
|||
}
|
||||
}
|
||||
|
||||
/// Sets the size of the [`Avatar`] this indicator appears on.
|
||||
/// Sets the size of the [`Avatar`](crate::Avatar) this indicator appears on.
|
||||
pub fn avatar_size(mut self, size: impl Into<Option<Pixels>>) -> Self {
|
||||
self.avatar_size = size.into();
|
||||
self
|
||||
|
|
|
@ -16,7 +16,7 @@ use smallvec::SmallVec;
|
|||
///
|
||||
/// Related elements:
|
||||
///
|
||||
/// `ContextMenu`:
|
||||
/// [`ContextMenu`](crate::ContextMenu):
|
||||
///
|
||||
/// Used to display a popover menu that only contains a list of items. Context menus are always
|
||||
/// launched by secondary clicking on an element. The menu is positioned relative to the user's cursor.
|
||||
|
|
Loading…
Reference in a new issue