Skip to content

Commit b5046c8

Browse files
Fix typos (#521)
1 parent cfeb190 commit b5046c8

File tree

17 files changed

+23
-23
lines changed

17 files changed

+23
-23
lines changed

dogsdogsdogs/src/operators/half_join.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
//! collections.
2727
//!
2828
//! There are some caveats about ties, and we should treat each `time` for
29-
//! each input as occuring at distinct times, one after the other (so that
29+
//! each input as occurring at distinct times, one after the other (so that
3030
//! ties are resolved by the index of the input). There is also the matter
3131
//! of logical compaction, which should not be done in a way that prevents
3232
//! the correct determination of the total order comparison.

doop/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@ fn main() {
11991199

12001200
while probe.less_than(inputs.0[0].time()) { worker.step(); }
12011201

1202-
println!("{:?}\tcomputation initalized", timer.elapsed());
1202+
println!("{:?}\tcomputation initialized", timer.elapsed());
12031203

12041204
if batch > 0 {
12051205

examples/projekt.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn main() {
109109

110110
});
111111

112-
// Introduce XY projektion.
112+
// Introduce XY projection.
113113
xy_goal.insert((0, 0));
114114
xy_goal.insert((0, 1));
115115
xy_goal.insert((0, 3));
@@ -125,7 +125,7 @@ fn main() {
125125
xy_goal.insert((4, 1));
126126
xy_goal.insert((4, 2));
127127

128-
// Introduce XZ projektion.
128+
// Introduce XZ projection.
129129
xz_goal.insert((0, 2));
130130
xz_goal.insert((0, 3));
131131
xz_goal.insert((0, 4));

examples/spines.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fn main() {
7272
.probe_with(&mut probe);
7373
}
7474
_ => {
75-
println!("unreconized mode: {:?}", mode)
75+
println!("unrecognized mode: {:?}", mode)
7676
}
7777
}
7878

interactive/src/plan/sfw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use differential_dataflow::{Collection, ExchangeData};
3535
use crate::plan::{Plan, Render};
3636
use crate::{TraceManager, Time, Diff, Datum};
3737

38-
/// A multiway join of muliple relations.
38+
/// A multiway join of multiple relations.
3939
///
4040
/// By expressing multiple relations and required equivalances between their attributes,
4141
/// we can more efficiently design incremental update strategies without materializing

server/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub type Environment<'a, 'b> = (
3232
///
3333
/// This type is meant to be a smart pointer for a type `T` that needs to keep
3434
/// a `Library` alive, perhaps because its methods would call in to the library.
35-
/// The type should have a specified drop order (viz RFC 1857) which guarentees
35+
/// The type should have a specified drop order (viz RFC 1857) which guarantees
3636
/// that the shared library reference drops only after the element itself is
3737
/// dropped. It also implements `Deref` and `DerefMut` to provide the experience
3838
/// of a `T` itself.

src/algorithms/identifiers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ where
5252
// additions and subtractions of losers, rather than reproducing
5353
// the winners. This is done under the premise that losers are
5454
// very rare, and maintaining winners in both the input and output
55-
// of `reduce` is an unneccesary duplication.
55+
// of `reduce` is an unnecessary duplication.
5656

5757
use crate::collection::AsCollection;
5858

src/consolidation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ pub fn consolidate_container<C: ConsolidateLayout>(container: &mut C, target: &m
322322
for item in permutation.drain(..) {
323323
let (key, diff) = C::into_parts(item);
324324
match &mut previous {
325-
// Initial iteration, remeber key and diff.
325+
// Initial iteration, remember key and diff.
326326
// TODO: Opportunity for GatCow for diff.
327327
None => previous = Some((key, diff.into_owned())),
328328
Some((prevkey, d)) => {

src/dynamic/pointstamp.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl<T: Timestamp> PointStamp<T> {
6868
/// Returns the wrapped vector.
6969
///
7070
/// This method is the support way to mutate the contents of `self`, by extracting
71-
/// the vector and then re-introducting it with `PointStamp::new` to re-establish
71+
/// the vector and then re-introducing it with `PointStamp::new` to re-establish
7272
/// the invariant that the vector not end with `T::minimum`.
7373
pub fn into_vec(self) -> Vec<T> {
7474
self.vector
@@ -196,7 +196,7 @@ impl<T: Timestamp> PathSummary<PointStamp<T>> for PointStampSummary<T::Summary>
196196
impl<TS: PartialOrder> PartialOrder for PointStampSummary<TS> {
197197
fn less_equal(&self, other: &Self) -> bool {
198198
// If the `retain`s are not the same, there is some coordinate which
199-
// could either be bigger or smaller as the timestamp or the replacemnt.
199+
// could either be bigger or smaller as the timestamp or the replacement.
200200
// In principle, a `T::minimum()` extension could break this rule, and
201201
// we could tighten this logic if needed; I think it is fine not to though.
202202
self.retain == other.retain

src/logging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl From<MergeEvent> for DifferentialEvent { fn from(e: MergeEvent) -> Self { D
9595
/// A merge failed to complete in time.
9696
#[derive(Debug, Clone, Ord, PartialOrd, Eq, PartialEq, Serialize, Deserialize)]
9797
pub struct MergeShortfall {
98-
/// Operator identifer.
98+
/// Operator identifier.
9999
pub operator: usize,
100100
/// Which order of magnitude.
101101
pub scale: usize,

0 commit comments

Comments
 (0)