Skip to content

Commit

Permalink
Update stash.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
yangnianbing committed Feb 29, 2024
1 parent e0e314e commit e3706a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ impl<'a> StashSaveOptions<'a> {
);
opts
}

/// Customize optional `message` field
pub fn message(&mut self, message: Option<&str>) -> &mut Self {
let message = crate::opt_cstr(message).unwrap_or_default();
Expand Down

0 comments on commit e3706a2

Please sign in to comment.