Skip to content

Commit c20fc53

Browse files
committed
Fix clippy errors
1 parent 63c2786 commit c20fc53

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jemalloc-sys/src/lib.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,9 @@ extern "C" {
387387
/// The behavior is _undefined_ if:
388388
///
389389
/// * `size` is not in range `[req_size, alloc_size]`, where `req_size` is
390-
/// the size requested when performing the allocation, and `alloc_size` is
391-
/// the allocation size returned by [`nallocx`], [`sallocx`], or
392-
/// [`xallocx`],
390+
/// the size requested when performing the allocation, and `alloc_size` is
391+
/// the allocation size returned by [`nallocx`], [`sallocx`], or
392+
/// [`xallocx`],
393393
/// * `ptr` does not match a pointer earlier returned by the memory
394394
/// allocation functions of this crate, or
395395
/// * `ptr` is null, or
@@ -453,8 +453,8 @@ extern "C" {
453453
/// Returns `0` on success, otherwise returns:
454454
///
455455
/// * `EINVAL`: if `newp` is not null, and `newlen` is too large or too
456-
/// small. Alternatively, `*oldlenp` is too large or too small; in this case
457-
/// as much data as possible are read despite the error.
456+
/// small. Alternatively, `*oldlenp` is too large or too small; in this case
457+
/// as much data as possible are read despite the error.
458458
///
459459
/// * `ENOENT`: `name` or mib specifies an unknown/invalid value.
460460
///
@@ -463,7 +463,7 @@ extern "C" {
463463
/// * `EAGAIN`: A memory allocation failure occurred.
464464
///
465465
/// * `EFAULT`: An interface with side effects failed in some way not
466-
/// directly related to `mallctl` read/write processing.
466+
/// directly related to `mallctl` read/write processing.
467467
///
468468
/// [jemalloc_mallctl]: http://jemalloc.net/jemalloc.3.html#mallctl_namespace
469469
#[cfg_attr(prefixed, link_name = "_rjem_mallctl")]

0 commit comments

Comments
 (0)