Skip to content
Permalink
Browse files

Fix broken links to simple example

  • Loading branch information...
astubbs committed May 22, 2019
1 parent ef2f213 commit f6604af7e2feb3a06578dce8c068cd4faff17a09
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 mdbook/src/chapter_2/chapter_2.md
@@ -15,7 +15,7 @@ To use timely dataflow, add the following to the dependencies section of your pr
timely="*"
```

This will bring in the [`timely` crate](https://crates.io/crates/timely) from [crates.io](http://crates.io), which should allow you to start writing timely dataflow programs like this one (also available in [examples/simple.rs](https://github.com/timelydataflow/timely-dataflow/blob/master/examples/simple.rs)):
This will bring in the [`timely` crate](https://crates.io/crates/timely) from [crates.io](http://crates.io), which should allow you to start writing timely dataflow programs like this one (also available in [timely/examples/simple.rs](https://github.com/timelydataflow/timely-dataflow/blob/master/timely/examples/simple.rs)):

```rust
extern crate timely;
@@ -4,7 +4,7 @@ Let's talk about how to create timely dataflows.

This section will be a bit of a tour through the dataflow construction process, ignoring for the moment details about the interesting ways in which you can get data in to and out of your dataflow; those will show up in the "Running Timely Dataflows" section. For now we are going to work with examples with fixed input data and no interactivity to speak of, focusing on what we can cause to happen to that data.

Here is a relatively simple example, taken from `examples/simple.rs`, that turns the numbers zero through nine into a stream, and then feeds them through an `inspect` operator printing them to the screen.
Here is a relatively simple example, taken from `timely/examples/simple.rs`, that turns the numbers zero through nine into a stream, and then feeds them through an `inspect` operator printing them to the screen.

```rust
extern crate timely;

0 comments on commit f6604af

Please sign in to comment.
You can’t perform that action at this time.