Skip to content

Commit

Permalink
Fix docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Aug 31, 2014
1 parent c1aab7b commit d4b2b46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ ctags:
ctags --recurse --options=ctags.rust --languages=Rust

docs:
rm -rf doc
rustdoc -L . --test src/lib.rs
rustdoc src/lib.rs
cargo doc
# WTF is rustdoc doing?
chmod 755 doc
in-dir doc fix-perms
rscp ./doc/* gopher:~/www/burntsushi.net/rustdoc/
in-dir ./target/doc fix-perms
rscp ./target/doc/* gopher:~/www/burntsushi.net/rustdoc/

test: $(BUILD)/test
RUST_TEST_TASKS=1 RUST_LOG=quickcheck,csv $(BUILD)/test
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ pub struct Encoder<W> {
}

impl Encoder<MemWriter> {
/// Creates a new CSV string encoder. At any time, `to_str` can be called
/// to retrieve the cumulative CSV data.
/// Creates a new CSV string encoder. At any time, `to_string` can
/// be called to retrieve the cumulative CSV data.
pub fn string_encoder() -> Encoder<MemWriter> {
Encoder::to_writer(MemWriter::new())
}
Expand Down

0 comments on commit d4b2b46

Please sign in to comment.