Skip to content

Commit 8c8138c

Browse files
authored
Merge pull request #842 from joshtriplett/fix-typo
Fix copy-paste issue ("Commit" -> "Tree")
2 parents d6f4560 + 61454c6 commit 8c8138c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ impl<'repo> Tree<'repo> {
199199
unsafe { &*(self as *const _ as *const Object<'repo>) }
200200
}
201201

202-
/// Consumes Commit to be returned as an `Object`
202+
/// Consumes this Tree to be returned as an `Object`
203203
pub fn into_object(self) -> Object<'repo> {
204204
assert_eq!(mem::size_of_val(&self), mem::size_of::<Object<'_>>());
205205
unsafe { mem::transmute(self) }

0 commit comments

Comments
 (0)