Skip to content

Commit

Permalink
Merge pull request rust-lang#111 from mbudde/fix-docs
Browse files Browse the repository at this point in the history
Documentation fixes
  • Loading branch information
alexcrichton committed Feb 21, 2016
2 parents 5eb2825 + 0fbad96 commit b2e36f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ pub enum ConfigLevel {
XDG,
/// User-specific configuration, e.g. ~/.gitconfig
Global,
/// Reopsitory specific config, e.g. $PWD/.git/config
/// Repository specific config, e.g. $PWD/.git/config
Local,
/// Application specific configuration file
App,
Expand Down
7 changes: 5 additions & 2 deletions src/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ use util::Binding;
/// library.
///
/// Signatures contain a name, email, and timestamp. All fields can be specified
/// with `new`, the `now` constructor omits the timestamp, and the `default`
/// constructor reads configuration from the given repository.
/// with `new` while the `now` constructor omits the timestamp. The
/// [`Repository::signature`] method can be used to create a default signature
/// with name and email values read from the configuration.
///
/// [`Repository::signature`]: struct.Repository.html#method.signature
pub struct Signature<'a> {
raw: *mut raw::git_signature,
_marker: marker::PhantomData<&'a str>,
Expand Down

0 comments on commit b2e36f4

Please sign in to comment.