This commit is contained in:
gwenn
2016-05-03 21:00:59 +02:00
parent 59872a1850
commit 6fb549420b
4 changed files with 31 additions and 12 deletions

View File

@@ -353,7 +353,9 @@ impl<'a> Context<'a> {
///
/// `A` is the type of the aggregation context and `T` is the type of the final result.
/// Implementations should be stateless.
pub trait Aggregate<A, T> where T: ToResult {
pub trait Aggregate<A, T>
where T: ToResult
{
/// Initializes the aggregation context. Will be called prior to the first call
/// to `step()` to set up the context for an invocation of the function. (Note:
/// `init()` will not be called if the there are no rows.)