diff --git a/src/branch.rs b/src/branch.rs index 3f035ed0d3..9f1e523c0d 100644 --- a/src/branch.rs +++ b/src/branch.rs @@ -9,7 +9,7 @@ use util::Binding; /// A structure to represent a git [branch][1] /// /// A branch is currently just a wrapper to an underlying `Reference`. The -/// reference can be accessed through the `get` and `unwrap` methods. +/// reference can be accessed through the `get` and `into_reference` methods. /// /// [1]: http://git-scm.com/book/en/Git-Branching-What-a-Branch-Is pub struct Branch<'repo> {