Skip to content

Commit

Permalink
One more doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 18, 2016
1 parent 11d8aaa commit e7c34af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ impl<'cb> CheckoutBuilder<'cb> {
/// Set a callback to receive checkout notifications.
///
/// Callbacks are invoked prior to modifying any files on disk.
/// Returning `true` from the callback will cancel the checkout.
/// Returning `false` from the callback will cancel the checkout.
pub fn notify<F>(&mut self, cb: F) -> &mut CheckoutBuilder<'cb>
where F: FnMut(CheckoutNotificationType, Option<&Path>, DiffFile,
DiffFile, DiffFile) -> bool + 'cb
Expand Down

0 comments on commit e7c34af

Please sign in to comment.