Skip to content

Commit ffadbea

Browse files
Make builder::result members public (#591)
1 parent 983f4ad commit ffadbea

File tree

1 file changed

+8
-2
lines changed
  • differential-dataflow/src/trace/implementations

1 file changed

+8
-2
lines changed

differential-dataflow/src/trace/implementations/ord_neu.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,10 @@ mod val_batch {
542542

543543
/// A builder for creating layers from unsorted update tuples.
544544
pub struct OrdValBuilder<L: Layout, CI> {
545-
result: OrdValStorage<L>,
545+
/// The in-progress result.
546+
///
547+
/// This is public to allow container implementors to set and inspect their container.
548+
pub result: OrdValStorage<L>,
546549
singleton: Option<(<L::Target as Update>::Time, <L::Target as Update>::Diff)>,
547550
/// Counts the number of singleton optimizations we performed.
548551
///
@@ -1038,7 +1041,10 @@ mod key_batch {
10381041

10391042
/// A builder for creating layers from unsorted update tuples.
10401043
pub struct OrdKeyBuilder<L: Layout, CI> {
1041-
result: OrdKeyStorage<L>,
1044+
/// The in-progress result.
1045+
///
1046+
/// This is public to allow container implementors to set and inspect their container.
1047+
pub result: OrdKeyStorage<L>,
10421048
singleton: Option<(<L::Target as Update>::Time, <L::Target as Update>::Diff)>,
10431049
/// Counts the number of singleton optimizations we performed.
10441050
///

0 commit comments

Comments
 (0)