mononoke: fix a comment

Reviewed By: farnz

Differential Revision: D22816709

fbshipit-source-id: 7c338034bdfb835133eda12d23385fe432557868
This commit is contained in:
Stanislau Hlebik 2020-07-29 11:40:41 -07:00 committed by Facebook GitHub Bot
parent 979ffaa58a
commit 264a1493ca

View File

@ -57,7 +57,7 @@ pub trait BookmarkTransaction: Send + Sync + 'static {
/// Adds create() operation to the transaction set.
/// Creates a bookmark. BookmarkName should not already exist, otherwise committing the
/// transaction will fail. The resulting Bookmark will be PushDefault.
/// transaction will fail. The resulting Bookmark will be PullDefault.
fn create(
&mut self,
bookmark: &BookmarkName,
@ -106,7 +106,7 @@ pub trait BookmarkTransaction: Send + Sync + 'static {
) -> Result<()>;
/// Adds a scratch bookmark create operation to the transaction set.
/// Creates a new bookmark, configured as scratch. It shuld not exist already.
/// Creates a new bookmark, configured as scratch. It should not exist already.
fn create_scratch(&mut self, bookmark: &BookmarkName, new_cs: ChangesetId) -> Result<()>;
/// Commits the transaction. Future succeeds if transaction has been