Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fixes: links and typos #98

Merged
merged 3 commits into from Jul 5, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -136,7 +136,7 @@ have to remember or write the crate's module hierarchy to use these types.
Re-exporting is covered in more detail in the *The Rust Programming Language*
under [Crates and Modules][reexport].

[reexport]: https://doc.rust-lang.org/book/crates-and-modules.html#re-exporting-with-pub-use
[reexport]: https://doc.rust-lang.org/book/first-edition/crates-and-modules.html#re-exporting-with-pub-use

##### Examples from `serde_json`

Expand Down Expand Up @@ -392,8 +392,8 @@ If `foo` uses/produces owned data by default, use:
<a id="c-getters"></a>
### Single-element containers implement appropriate getters (C-GETTERS)

Single-element contains where accessing the element cannot fail should implement
`get` and `get_mut`, with the following signatures.
Single-element containers where accessing the element cannot fail should
implement `get` and `get_mut`, with the following signatures.

```rust
fn get(&self) -> &V;
Expand Down Expand Up @@ -1228,7 +1228,7 @@ than `new`).
Constructors for structs with sensible defaults allow clients to concisely
override using the [struct update syntax].

[struct update syntax]: https://doc.rust-lang.org/book/structs.html#update-syntax
[struct update syntax]: https://doc.rust-lang.org/book/first-edition/structs.html#update-syntax

```rust
pub struct Config {
Expand Down Expand Up @@ -1569,7 +1569,7 @@ provides a typesafe representation of this pattern.
extern crate bitflags;

bitflags! {
flags Flags: u32 {
struct Flags: u32 {
const FLAG_A = 0b00000001,
const FLAG_B = 0b00000010,
const FLAG_C = 0b00000100,
Expand Down