Skip to content

Commit 56e48d3

Browse files
committed
Autofix of clippy::doc_markdown
1 parent 7714715 commit 56e48d3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub enum Error {
4747

4848
type Result<T, E = Error> = std::result::Result<T, E>;
4949

50-
/// QueueFile is a lightning-fast, transactional, file-based FIFO.
50+
/// `QueueFile` is a lightning-fast, transactional, file-based FIFO.
5151
///
5252
/// Addition and removal from an instance is an O(1) operation and is atomic.
5353
/// Writes are synchronous by default; data will be written to disk before an operation returns.
@@ -216,7 +216,7 @@ impl QueueFile {
216216
Ok(())
217217
}
218218

219-
/// Open or create [QueueFile] at `path` with specified minimal file size.
219+
/// Open or create [`QueueFile`] at `path` with specified minimal file size.
220220
///
221221
/// # Example
222222
///
@@ -229,7 +229,7 @@ impl QueueFile {
229229
Self::open_internal(path, true, false, capacity)
230230
}
231231

232-
/// Open or create [QueueFile] at `path`.
232+
/// Open or create [`QueueFile`] at `path`.
233233
///
234234
/// # Example
235235
///
@@ -242,7 +242,7 @@ impl QueueFile {
242242
Self::with_capacity(path, Self::INITIAL_LENGTH)
243243
}
244244

245-
/// Open or create [QueueFile] at `path` forcing legacy format.
245+
/// Open or create [`QueueFile`] at `path` forcing legacy format.
246246
///
247247
/// # Example
248248
///
@@ -722,7 +722,7 @@ impl QueueFile {
722722
}
723723

724724
/// Returns the amount of bytes used by the backed file.
725-
/// Always >= [Self::used_bytes].
725+
/// Always >= [`Self::used_bytes`].
726726
#[inline]
727727
pub fn file_len(&self) -> u64 {
728728
self.inner.file_len

0 commit comments

Comments
 (0)