Skip to content

Commit 146332a

Browse files
authored
Merge pull request #424 from emlun/fix-doc-errors
Fix copypaste oopsies in Reference doc comments
2 parents c29c88d + 67093fa commit 146332a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reference.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,15 +180,15 @@ impl<'repo> Reference<'repo> {
180180
/// Peel a reference to a commit
181181
///
182182
/// This method recursively peels the reference until it reaches
183-
/// a blob.
183+
/// a commit.
184184
pub fn peel_to_commit(&self) -> Result<Commit<'repo>, Error> {
185185
Ok(try!(self.peel(ObjectType::Commit)).cast_or_panic(ObjectType::Commit))
186186
}
187187

188188
/// Peel a reference to a tree
189189
///
190190
/// This method recursively peels the reference until it reaches
191-
/// a blob.
191+
/// a tree.
192192
pub fn peel_to_tree(&self) -> Result<Tree<'repo>, Error> {
193193
Ok(try!(self.peel(ObjectType::Tree)).cast_or_panic(ObjectType::Tree))
194194
}

0 commit comments

Comments
 (0)