mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-07 12:20:34 +08:00
radicle: Fix doctests
This commit is contained in:
@@ -26,9 +26,9 @@ pub enum ReviewEdit {
|
||||
/// The latest version of editing a review.
|
||||
///
|
||||
/// 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")]
|
||||
V2(ReviewEditV2),
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ use crate::cob::patch::{
|
||||
/// The encoding for a `patch::Review` that can be deserialized and migrated.
|
||||
///
|
||||
/// To maintain backwards-compatibility, [`Review`] must implement:
|
||||
/// ```rust, no_run
|
||||
/// ```rust, ignore
|
||||
/// From<Review> for patch::Review
|
||||
/// ```
|
||||
#[derive(Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user