Skip to content

Commit

Permalink
add extra comments to common mod files
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietMisdreavus committed Aug 20, 2016
1 parent 1d9948b commit da0a320
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/from_json.rs
@@ -1,3 +1,5 @@
//! Infrastructure trait and related functions for deserializing data from Twitter.

use rustc_serialize::json;
use error;
use error::Error::{InvalidResponse, MissingValue};
Expand Down
6 changes: 6 additions & 0 deletions src/common/mod.rs
@@ -1,3 +1,9 @@
//! Set of structs and methods that act as a sort of internal prelude.
//!
//! The elements available in this module and its children are fairly basic building blocks that
//! the other modules all glob-import to make available as a common language. A lot of
//! infrastructure code goes in here.

use std::borrow::Cow;
use std::collections::HashMap;

Expand Down
3 changes: 3 additions & 0 deletions src/common/response.rs
@@ -1,3 +1,6 @@
//! Infrastructure types related to packaging rate-limit information alongside responses from
//! Twitter.

use std::vec;
use std::iter::FromIterator;
use std::io::Read;
Expand Down

0 comments on commit da0a320

Please sign in to comment.