Require documentation on filecheck public items.

This commit is contained in:
Jakob Stoklund Olesen
2016-10-26 17:34:45 -07:00
parent 15f626ccc0
commit 447baf015e
2 changed files with 4 additions and 0 deletions

View File

@@ -19,7 +19,9 @@ pub fn varname_prefix(s: &str) -> usize {
/// A variable can contain either a regular expression or plain text.
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum Value<'a> {
/// Verbatim text.
Text(Cow<'a, str>),
/// Regular expression.
Regex(Cow<'a, str>),
}