aether-wisp 0.2.0

A terminal UI for AI coding agents via the Agent Client Protocol (ACP)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::CommentAnchor;

#[derive(Debug, Clone, PartialEq, Eq)]
pub(crate) struct ReviewComment<A> {
    pub anchor: CommentAnchor<A>,
    pub body: String,
}

impl<A> ReviewComment<A> {
    pub(crate) fn new(anchor: CommentAnchor<A>, body: impl Into<String>) -> Self {
        Self { anchor, body: body.into() }
    }
}