Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
radicle: Fix some doc comment issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Mar 12, 2024
1 parent de0b9ae commit d7c88f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions radicle/src/storage/refs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ impl Deref for SignedRefsAt {
/// If `old` is `None` then this is a newly seen `rad/sigrefs`,
/// otherwise it is an update from `old` to `new`.
///
/// The [`RefsUpdate::difference`] method will compute the difference
/// The [`SignedRefsUpdate::difference`] method will compute the difference
/// between the two `Oid`s, returning [`DiffedRefs`].
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct SignedRefsUpdate {
Expand Down Expand Up @@ -491,7 +491,7 @@ impl Update {

/// The set of [`Update`]s for a given [`git::RefString`].
///
/// To construct a `DiffedRefs` use [`RefsUpdate::difference`].
/// To construct a `DiffedRefs` use [`SignedRefsUpdate::difference`].
#[derive(Clone, Debug, Default)]
pub struct DiffedRefs(BTreeMap<git::RefString, Update>);

Expand All @@ -510,8 +510,8 @@ impl DerefMut for DiffedRefs {
}

impl SignedRefsUpdate {
/// Get the difference between [`RefsUpdate::old`], if it exists,
/// and [`RefsUpdate::new`].
/// Get the difference between [`SignedRefsUpdate::old`], if it exists,
/// and [`SignedRefsUpdate::new`].
///
/// If `old` is `None`, then all `Updates`s are `Added`.
///
Expand Down

0 comments on commit d7c88f1

Please sign in to comment.