Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 21c7c23

Browse files
Add documentation for StashFlags type and constant
1 parent c20bbe5 commit 21c7c23

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/lib.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,10 +1506,13 @@ impl Default for StashApplyFlags {
15061506
}
15071507

15081508
bitflags! {
1509-
#[allow(missing_docs)]
1509+
/// Flags for use when stashing changes
1510+
///
1511+
/// See [`StashSaveOptions::flags()`] and [`Repository::stash_save()`] for
1512+
/// further details.
15101513
#[derive(Clone, Copy, Debug, Eq, PartialEq, PartialOrd, Ord, Hash)]
15111514
pub struct StashFlags: u32 {
1512-
#[allow(missing_docs)]
1515+
/// Default options if no additional customization is desired.
15131516
const DEFAULT = raw::GIT_STASH_DEFAULT as u32;
15141517
/// All changes already added to the index are left intact in
15151518
/// the working directory

0 commit comments

Comments
 (0)