Skip to content

Commit

Permalink
doc: remove duplicate words. Thanks, Matt Might!
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuper committed May 15, 2012
1 parent b8880e3 commit 17d6b09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ keep the size and complexity of the language under control.
very incomplete; only a modest number of sections have accompanying grammar
rules. Formalizing the grammar accepted by the Rust parser is ongoing work,
but future versions of this document will contain a complete
grammar. Moreover, we hope that this grammar will be be extracted and verified
grammar. Moreover, we hope that this grammar will be extracted and verified
as LL(1) by an automated grammar-analysis tool, and further tested against the
Rust sources. Preliminary versions of this automation exist, but are not yet
complete.
Expand Down Expand Up @@ -1450,7 +1450,7 @@ init : [ '=' | '<-' ] expr ;
~~~~~~~~


A _slot declaration_ has one one of two forms:
A _slot declaration_ has one of two forms:

* `let` `pattern` `optional-init`;
* `let` `pattern` : `type` `optional-init`;
Expand Down Expand Up @@ -2647,7 +2647,7 @@ The machine types are the following:
#### Machine-dependent integer types

The Rust type `uint`^[A Rust `uint` is analogous to a C99 `uintptr_t`.] is an
unsigned integer type with with target-machine-dependent size. Its size, in
unsigned integer type with target-machine-dependent size. Its size, in
bits, is equal to the number of bits required to hold any memory address on
the target machine.

Expand Down
2 changes: 1 addition & 1 deletion doc/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -2223,7 +2223,7 @@ native mod something {
Most native C code use the cdecl calling convention, so that is what
Rust uses by default when calling native functions. Some native functions,
most notably the Windows API, use other calling conventions, so Rust
provides a way to to hint to the compiler which is expected by using
provides a way to hint to the compiler which is expected by using
the `"abi"` attribute:

~~~~
Expand Down

0 comments on commit 17d6b09

Please sign in to comment.