Skip to content

Commit 201cdd1

Browse files
committed
Fix reference in doc comment
1 parent 7e68ead commit 201cdd1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gix/src/types.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ pub struct Reference<'r> {
145145

146146
/// A thread-local handle to interact with a repository from a single thread.
147147
///
148-
/// It is `Send` but **not** `Sync` - for the latter you can convert it `to_sync()`.
148+
/// It is `Send`, but **not** `Sync` - for the latter you can convert it using
149+
/// [`.into_sync()`][Repository::into_sync()].
150+
///
149151
/// Note that it clones itself so that it is empty, requiring the user to configure each clone separately, specifically
150152
/// and explicitly. This is to have the fastest-possible default configuration available by default, but allow
151153
/// those who experiment with workloads to get speed boosts of 2x or more.

0 commit comments

Comments
 (0)