Skip to content

Commit 0e87915

Browse files
committed
Add doc comment
1 parent 497cde5 commit 0e87915

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

database/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,9 +1039,13 @@ impl BenchmarkRequest {
10391039
}
10401040
}
10411041

1042+
/// Result of inserting into the database
10421043
#[derive(Debug, Clone, PartialEq)]
10431044
pub enum BenchmarkRequestInsertResult {
1045+
/// The request was inserted into the database and is a unique instance
10441046
Inserted,
1047+
/// The request was not inserted into the database as something else already
1048+
/// existed that clashed with the unique clause
10451049
NothingInserted,
10461050
}
10471051

0 commit comments

Comments
 (0)