radicle: Fix doctests

This commit is contained in:
Erik Kundt 2025-07-14 12:41:56 +02:00
parent 34939253f7
commit 4e429e4408
2 changed files with 3 additions and 3 deletions

View File

@ -26,9 +26,9 @@ pub enum ReviewEdit {
/// The latest version of editing a review. /// The latest version of editing a review.
/// ///
/// This allows editing the `summary`, `verdict`, `labels` of [`Patch`], and /// This allows editing the `summary`, `verdict`, `labels` of [`Patch`], and
/// introduces `embeds` to the review [`summary`]. /// introduces `embeds` to the review summary.
/// ///
/// The `summary` of a [`Review`] is now an edit-history. /// The `summary` of a [`super::Review`] is now an edit-history.
#[serde(rename = "review.edit.v2")] #[serde(rename = "review.edit.v2")]
V2(ReviewEditV2), V2(ReviewEditV2),
} }

View File

@ -20,7 +20,7 @@ use crate::cob::patch::{
/// The encoding for a `patch::Review` that can be deserialized and migrated. /// The encoding for a `patch::Review` that can be deserialized and migrated.
/// ///
/// To maintain backwards-compatibility, [`Review`] must implement: /// To maintain backwards-compatibility, [`Review`] must implement:
/// ```rust, no_run /// ```rust, ignore
/// From<Review> for patch::Review /// From<Review> for patch::Review
/// ``` /// ```
#[derive(Deserialize)] #[derive(Deserialize)]