Skip to content

Commit c0f8c2b

Browse files
Fix typos. (#588)
1 parent 2a5cb8b commit c0f8c2b

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The address associated with each operator, a `[usize]` used to start with the id
5050

5151
The `Worker` and the `Subgraph` operator no longer schedules all of their child dataflows and scopes by default. Instead, they track "active" children and schedule only those. Operators become active by receiving a message, a progress update, or by explicit activation. Some operators, source as `source`, have no inputs and will require explicit activation to run more than once. Operators that yield before completing all of their work (good for you!) should explicitly re-activate themselves to ensure they are re-scheduled even if they receive no further messages or progress updates. Documentation examples for the `source` method demonstrate this.
5252

53-
The `dataflow_using` method has been generalized to support arbitrary dataflow names, loggers, and additional resources the dataflow should keep alive. Its name has been chaged to `dataflow_core`.
53+
The `dataflow_using` method has been generalized to support arbitrary dataflow names, loggers, and additional resources the dataflow should keep alive. Its name has been changed to `dataflow_core`.
5454

5555
You can now construct `feedback` operators with a `Default::default()` path summary, which has the ability to not increment timestamps. Instead of panicking, Timely's reachability module will inform you if a non-incrementing cycle is detected, at which point you should probably double check your code. It is not 100% known what the system will do in this case (e.g., the progress tracker may enter a non-terminating loop; this is on you, not us ;)).
5656

communication/src/allocator/zero_copy/bytes_slab.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use bytes::arc::Bytes;
1010
pub struct BytesSlab {
1111
buffer: Bytes, // current working buffer.
1212
in_progress: Vec<Option<Bytes>>, // buffers shared with workers.
13-
stash: Vec<Bytes>, // reclaimed and resuable buffers.
13+
stash: Vec<Bytes>, // reclaimed and reusable buffers.
1414
shift: usize, // current buffer allocation size.
1515
valid: usize, // buffer[..valid] are valid bytes.
1616
}

communication/src/allocator/zero_copy/tcp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ where
5656
// At the start of each iteration, `self.buffer[..self.length]` represents valid
5757
// data, and the remaining capacity is available for reading from the reader.
5858
//
59-
// Once the buffer fills, we need to copy uncomplete messages to a new shared
59+
// Once the buffer fills, we need to copy incomplete messages to a new shared
6060
// allocation and place the existing Bytes into `self.in_progress`, so that it
6161
// can be recovered once all readers have read what they need to.
6262
let mut active = true;

communication/src/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl<T: Data> Message<T> {
144144
impl<T> ::std::ops::Deref for Message<T> {
145145
type Target = T;
146146
fn deref(&self) -> &Self::Target {
147-
// TODO: In principle we have aready decoded, but let's go again
147+
// TODO: In principle we have already decoded, but let's go again
148148
match &self.payload {
149149
MessageContents::Owned(typed) => { typed },
150150
MessageContents::Arc(typed) => { typed },

container/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ pub trait ContainerBuilder: Default + 'static {
127127
pub struct CapacityContainerBuilder<C>{
128128
/// Container that we're writing to.
129129
current: C,
130-
/// Emtpy allocation.
130+
/// Empty allocation.
131131
empty: Option<C>,
132132
/// Completed containers pending to be sent.
133133
pending: VecDeque<C>,

timely/examples/loopdemo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn main() {
2020
let mut input = InputHandle::new();
2121
let mut probe = ProbeHandle::new();
2222

23-
// Create a dataflow that discards input data (just syncronizes).
23+
// Create a dataflow that discards input data (just synchronizes).
2424
worker.dataflow(|scope| {
2525

2626
let stream = scope.input_from(&mut input);

timely/examples/openloop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn main() {
2323
let mut input = InputHandle::new();
2424
let mut probe = ProbeHandle::new();
2525

26-
// Create a dataflow that discards input data (just syncronizes).
26+
// Create a dataflow that discards input data (just synchronizes).
2727
worker.dataflow(|scope| {
2828
scope
2929
.input_from(&mut input) // read input.

timely/src/progress/broadcast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ impl<T:Timestamp+Send> Progcaster<T> {
6262
self.progress_logging.as_ref().map(|l| {
6363

6464
// Pre-allocate enough space; we transfer ownership, so there is not
65-
// an apportunity to re-use allocations (w/o changing the logging
65+
// an opportunity to re-use allocations (w/o changing the logging
6666
// interface to accept references).
6767
let mut messages = Box::new(Vec::with_capacity(changes.len()));
6868
let mut internal = Box::new(Vec::with_capacity(changes.len()));

timely/src/progress/change_batch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ where
184184
/// Drains the set of updates.
185185
///
186186
/// This operation first compacts the set of updates so that the drained results
187-
/// have at most one occurence of each item.
187+
/// have at most one occurrence of each item.
188188
///
189189
/// # Examples
190190
///

timely/src/progress/subgraph.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ where
158158
let inputs = self.input_messages.len();
159159
let outputs = self.output_capabilities.len();
160160

161-
// Create empty child zero represenative.
161+
// Create empty child zero representative.
162162
self.children[0] = PerOperatorState::empty(outputs, inputs);
163163

164164
let mut builder = reachability::Builder::new();

0 commit comments

Comments
 (0)