Skip to content

Commit 0f4c37a

Browse files
committed
docs: Fix OdbBackend::freshen operation flag
1 parent 28e10f7 commit 0f4c37a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/odb_backend.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ pub trait OdbBackend {
248248
/// "Freshens" an already existing object, updating its last-used time.
249249
///
250250
/// Corresponds to the `freshen` function of [`git_odb_backend`].
251-
/// Requires that [`SupportedOperations::REFRESH`] is present in the value returned from
251+
/// Requires that [`SupportedOperations::FRESHEN`] is present in the value returned from
252252
/// [`supported_operations`] to expose it to libgit2.
253253
///
254254
/// The default implementation of this method panics.

0 commit comments

Comments
 (0)