Skip to main content

DESC_COMMENT

Constant DESC_COMMENT 

Source
pub const DESC_COMMENT: &str = "\
Set or clear a comment on the code unit at an address. comment_type selects the channel \
(eol|pre|post|plate|repeatable); plate is the function/block header. new_comment is the text; an empty \
string clears it. Idempotent: if the comment already equals new_comment you get status:already_applied. \
Pass expected_comment ONLY to guard against drift (else STATE_CONFLICT with the actual value); you do not \
need to echo the current comment on the normal path. The edit is saved to disk (durable). target is an \
address or a symbol name.";