[INFO] crate refpool 0.4.2 is already in cache
[INFO] documenting refpool-0.4.2 against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566
[INFO] extracting crate refpool 0.4.2 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate refpool 0.4.2 on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate refpool 0.4.2
[INFO] finished tweaking crates.io crate refpool 0.4.2
[INFO] tweaked toml for crates.io crate refpool 0.4.2 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 51e386080d8e467bc854b0467143fe8c09a489d120f3affff0e45c25ff27350f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "51e386080d8e467bc854b0467143fe8c09a489d120f3affff0e45c25ff27350f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "51e386080d8e467bc854b0467143fe8c09a489d120f3affff0e45c25ff27350f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51e386080d8e467bc854b0467143fe8c09a489d120f3affff0e45c25ff27350f", kill_on_drop: false }`
[INFO] [stdout] 51e386080d8e467bc854b0467143fe8c09a489d120f3affff0e45c25ff27350f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e07234b1b0161424ae6cb68decc2bd9b1ff5d6b0befde6d01bda24019180d0f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0e07234b1b0161424ae6cb68decc2bd9b1ff5d6b0befde6d01bda24019180d0f", kill_on_drop: false }`
[INFO] [stderr] Documenting refpool v0.4.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:25:1
[INFO] [stdout] |
[INFO] [stdout] 25 | /// A unique pointer to a pool allocated value of `A`.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout] --> src/lib.rs:151:5
[INFO] [stdout] |
[INFO] [stdout] 151 | missing_doc_code_examples
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 27 | pub(crate) handle: ElementPointer,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:39:5
[INFO] [stdout] |
[INFO] [stdout] 39 | inner: PoolPointer,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:18:1
[INFO] [stdout] |
[INFO] [stdout] 18 | /// A reference counted pointer to a pool allocated value of `A`.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 20 | pub(crate) handle: ElementPointer,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / use crate::pointer::Pointer;
[INFO] [stdout] 6 | | use crate::pool::Pool;
[INFO] [stdout] 7 | | use crate::refbox::assume_init;
[INFO] [stdout] 8 | | use crate::refbox::data_ptr;
[INFO] [stdout] ... |
[INFO] [stdout] 366 | | }
[INFO] [stdout] 367 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:25:1
[INFO] [stdout] |
[INFO] [stdout] 25 | /// A unique pointer to a pool allocated value of `A`.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:30:1
[INFO] [stdout] |
[INFO] [stdout] 30 | / impl PoolBox {
[INFO] [stdout] 31 | | /// Construct a `PoolBox` with a newly initialised value of `A`.
[INFO] [stdout] 32 | | ///
[INFO] [stdout] 33 | | /// This uses [`PoolDefault::default_uninit()`][default_uninit] to initialise a
[INFO] [stdout] ... |
[INFO] [stdout] 228 | | }
[INFO] [stdout] 229 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:166:5
[INFO] [stdout] |
[INFO] [stdout] 166 | / /// Consume the `PoolBox` and return a pointer to the contents.
[INFO] [stdout] 167 | | ///
[INFO] [stdout] 168 | | /// Please note that the only proper way to drop the value pointed to
[INFO] [stdout] 169 | | /// is by using `PoolBox::from_raw` to turn it back into a `PoolBox`, because
[INFO] [stdout] 170 | | /// the value is followed by `PoolBox` metadata which also needs to
[INFO] [stdout] 171 | | /// be dropped.
[INFO] [stdout] | |___________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:178:5
[INFO] [stdout] |
[INFO] [stdout] 178 | / /// Consume the `PoolBox` and return a pointer to the contents.
[INFO] [stdout] 179 | | ///
[INFO] [stdout] 180 | | /// The pointer is guaranteed to be non-null.
[INFO] [stdout] 181 | | ///
[INFO] [stdout] ... |
[INFO] [stdout] 184 | | /// the value is followed by `PoolBox` metadata which also needs to
[INFO] [stdout] 185 | | /// be dropped.
[INFO] [stdout] | |___________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:222:5
[INFO] [stdout] |
[INFO] [stdout] 222 | / fn box_ref(&self) -> &RefBox {
[INFO] [stdout] 223 | | unsafe { &*self.handle.get_ptr() }
[INFO] [stdout] 224 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:226:5
[INFO] [stdout] |
[INFO] [stdout] 226 | / fn box_ref_mut(&mut self) -> &mut RefBox {
[INFO] [stdout] 227 | | unsafe { &mut *self.handle.get_ptr() }
[INFO] [stdout] 228 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/counter.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / pub(crate) trait Counter: Default {
[INFO] [stdout] 6 | | fn inc(&mut self);
[INFO] [stdout] 7 | | fn dec(&mut self) -> usize;
[INFO] [stdout] 8 | | fn count(&self) -> usize;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | }
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/counter.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / pub(crate) trait Counter: Default {
[INFO] [stdout] 6 | | fn inc(&mut self);
[INFO] [stdout] 7 | | fn dec(&mut self) -> usize;
[INFO] [stdout] 8 | | fn count(&self) -> usize;
[INFO] [stdout] 9 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/counter.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | fn inc(&mut self);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/counter.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | fn dec(&mut self) -> usize;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/counter.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | fn count(&self) -> usize;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / use std::ptr::NonNull;
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | pub(crate) trait Pointer: std::fmt::Pointer {
[INFO] [stdout] 8 | | fn wrap(ptr: *mut A) -> Self;
[INFO] [stdout] ... |
[INFO] [stdout] 44 | | }
[INFO] [stdout] 45 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | / pub(crate) trait Pointer: std::fmt::Pointer {
[INFO] [stdout] 8 | | fn wrap(ptr: *mut A) -> Self;
[INFO] [stdout] 9 | | fn get_ptr(&self) -> *mut A;
[INFO] [stdout] 10 | | fn cast(self) -> *mut B;
[INFO] [stdout] 11 | | fn get_ptr_checked(&self) -> Option<*mut A>;
[INFO] [stdout] 12 | | fn null() -> Self;
[INFO] [stdout] 13 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | fn wrap(ptr: *mut A) -> Self;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | fn get_ptr(&self) -> *mut A;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | fn cast(self) -> *mut B;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:11:5
[INFO] [stdout] |
[INFO] [stdout] 11 | fn get_ptr_checked(&self) -> Option<*mut A>;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 12 | fn null() -> Self;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / use std::fmt::{Debug, Error, Formatter};
[INFO] [stdout] 6 | | use std::mem::MaybeUninit;
[INFO] [stdout] 7 | |
[INFO] [stdout] 8 | | use crate::counter::Counter;
[INFO] [stdout] ... |
[INFO] [stdout] 287 | | }
[INFO] [stdout] 288 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:213:1
[INFO] [stdout] |
[INFO] [stdout] 213 | / pub(crate) struct PoolInner {
[INFO] [stdout] 214 | | count: usize,
[INFO] [stdout] 215 | | max_size: usize,
[INFO] [stdout] 216 | | stack: Vec>,
[INFO] [stdout] 217 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:214:5
[INFO] [stdout] |
[INFO] [stdout] 214 | count: usize,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:215:5
[INFO] [stdout] |
[INFO] [stdout] 215 | max_size: usize,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:216:5
[INFO] [stdout] |
[INFO] [stdout] 216 | stack: Vec>,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:14:1
[INFO] [stdout] |
[INFO] [stdout] 14 | / unsafe fn init_box(ref_box: *mut RefBox, pool: Pool) {
[INFO] [stdout] 15 | | let count_ptr: *mut _ = &mut (*(ref_box)).count;
[INFO] [stdout] 16 | | let pool_ptr: *mut _ = &mut (*(ref_box)).pool;
[INFO] [stdout] 17 | | count_ptr.write(Default::default());
[INFO] [stdout] 18 | | pool_ptr.write(pool);
[INFO] [stdout] 19 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:42:1
[INFO] [stdout] |
[INFO] [stdout] 42 | / impl Pool {
[INFO] [stdout] 43 | | /// Construct a new pool with a given max size and return a handle to it.
[INFO] [stdout] 44 | | ///
[INFO] [stdout] 45 | | /// Values constructed via the pool will be returned to the pool when
[INFO] [stdout] ... |
[INFO] [stdout] 167 | | }
[INFO] [stdout] 168 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:43:5
[INFO] [stdout] |
[INFO] [stdout] 43 | / /// Construct a new pool with a given max size and return a handle to it.
[INFO] [stdout] 44 | | ///
[INFO] [stdout] 45 | | /// Values constructed via the pool will be returned to the pool when
[INFO] [stdout] 46 | | /// dropped, up to `max_size`. When the pool is full, values will be dropped
[INFO] [stdout] ... |
[INFO] [stdout] 54 | | /// `Option`, which eliminates the need for unwrapping the `Option`
[INFO] [stdout] 55 | | /// value.
[INFO] [stdout] | |______________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:66:5
[INFO] [stdout] |
[INFO] [stdout] 66 | / pub(crate) fn push(&self, value: ElementPointer) {
[INFO] [stdout] 67 | | debug_assert!(self.inner.get_ptr_checked().is_some());
[INFO] [stdout] 68 | | unsafe { (*self.inner.get_ptr()).push(value) }
[INFO] [stdout] 69 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:71:5
[INFO] [stdout] |
[INFO] [stdout] 71 | / pub(crate) fn pop(&self) -> Box>> {
[INFO] [stdout] 72 | | let mut obj = if let Some(inner) = self.inner.get_ptr_checked() {
[INFO] [stdout] 73 | | unsafe { (*inner).pop() }
[INFO] [stdout] 74 | | } else {
[INFO] [stdout] ... |
[INFO] [stdout] 79 | | obj
[INFO] [stdout] 80 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:82:5
[INFO] [stdout] |
[INFO] [stdout] 82 | / fn deref(&self) -> Option<&PoolInner> {
[INFO] [stdout] 83 | | self.inner.get_ptr_checked().map(|p| unsafe { &*p })
[INFO] [stdout] 84 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:86:5
[INFO] [stdout] |
[INFO] [stdout] 86 | /// Get the maximum size of the pool.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:91:5
[INFO] [stdout] |
[INFO] [stdout] 91 | /// Get the current size of the pool.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:96:5
[INFO] [stdout] |
[INFO] [stdout] 96 | /// Test if the pool is currently full.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:219:1
[INFO] [stdout] |
[INFO] [stdout] 219 | / impl PoolInner {
[INFO] [stdout] 220 | | fn new(max_size: usize) -> Self {
[INFO] [stdout] 221 | | Self {
[INFO] [stdout] 222 | | count: Default::default(),
[INFO] [stdout] ... |
[INFO] [stdout] 271 | | }
[INFO] [stdout] 272 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:220:5
[INFO] [stdout] |
[INFO] [stdout] 220 | / fn new(max_size: usize) -> Self {
[INFO] [stdout] 221 | | Self {
[INFO] [stdout] 222 | | count: Default::default(),
[INFO] [stdout] 223 | | max_size,
[INFO] [stdout] 224 | | stack: Stack::stack_new(max_size),
[INFO] [stdout] 225 | | }
[INFO] [stdout] 226 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:228:5
[INFO] [stdout] |
[INFO] [stdout] 228 | / fn into_ref(mut self: Box) -> Pool {
[INFO] [stdout] 229 | | self.inc();
[INFO] [stdout] 230 | | Pool {
[INFO] [stdout] 231 | | inner: PoolPointer::wrap(Box::into_raw(self)),
[INFO] [stdout] 232 | | }
[INFO] [stdout] 233 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:235:5
[INFO] [stdout] |
[INFO] [stdout] 235 | / fn make_ref(&mut self) -> Pool {
[INFO] [stdout] 236 | | self.inc();
[INFO] [stdout] 237 | | Pool {
[INFO] [stdout] 238 | | inner: PoolPointer::wrap(self),
[INFO] [stdout] 239 | | }
[INFO] [stdout] 240 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:242:5
[INFO] [stdout] |
[INFO] [stdout] 242 | /// Get the maximum size of the pool.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:247:5
[INFO] [stdout] |
[INFO] [stdout] 247 | /// Get the current size of the pool.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:253:5
[INFO] [stdout] |
[INFO] [stdout] 253 | / fn inc(&mut self) {
[INFO] [stdout] 254 | | self.count.inc();
[INFO] [stdout] 255 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:258:5
[INFO] [stdout] |
[INFO] [stdout] 258 | / fn dec(&mut self) -> usize {
[INFO] [stdout] 259 | | self.count.dec()
[INFO] [stdout] 260 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:262:5
[INFO] [stdout] |
[INFO] [stdout] 262 | / fn pop(&mut self) -> Option>>> {
[INFO] [stdout] 263 | | self.stack.stack_pop().map(|value_ptr| {
[INFO] [stdout] 264 | | let box_ptr = value_ptr.cast::>>();
[INFO] [stdout] 265 | | unsafe { Box::from_raw(box_ptr.as_ptr()) }
[INFO] [stdout] 266 | | })
[INFO] [stdout] 267 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:269:5
[INFO] [stdout] |
[INFO] [stdout] 269 | / fn push(&mut self, handle: ElementPointer) {
[INFO] [stdout] 270 | | self.stack.stack_push(handle);
[INFO] [stdout] 271 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / use std::borrow::Borrow;
[INFO] [stdout] 6 | | use std::cmp::Ordering;
[INFO] [stdout] 7 | | use std::fmt::{Debug, Display, Error, Formatter};
[INFO] [stdout] 8 | | use std::hash::{Hash, Hasher};
[INFO] [stdout] ... |
[INFO] [stdout] 490 | | }
[INFO] [stdout] 491 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:23:1
[INFO] [stdout] |
[INFO] [stdout] 23 | / impl PoolRef {
[INFO] [stdout] 24 | | /// Construct a `PoolRef` with a newly initialised value of `A`.
[INFO] [stdout] 25 | | ///
[INFO] [stdout] 26 | | /// This uses [`PoolDefault::default_uninit()`][default_uninit] to initialise a
[INFO] [stdout] ... |
[INFO] [stdout] 389 | | }
[INFO] [stdout] 390 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:337:5
[INFO] [stdout] |
[INFO] [stdout] 337 | / /// Consume the `PoolRef` and return a pointer to the contents.
[INFO] [stdout] 338 | | ///
[INFO] [stdout] 339 | | /// The pointer is guaranteed to be non-null.
[INFO] [stdout] 340 | | ///
[INFO] [stdout] ... |
[INFO] [stdout] 343 | | /// the value is followed by `PoolRef` metadata which also needs to
[INFO] [stdout] 344 | | /// be dropped.
[INFO] [stdout] | |___________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:383:5
[INFO] [stdout] |
[INFO] [stdout] 383 | / fn box_ref(&self) -> &RefBox {
[INFO] [stdout] 384 | | unsafe { &*self.handle.get_ptr() }
[INFO] [stdout] 385 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:387:5
[INFO] [stdout] |
[INFO] [stdout] 387 | / fn box_ref_mut(&mut self) -> &mut RefBox {
[INFO] [stdout] 388 | | unsafe { &mut *self.handle.get_ptr() }
[INFO] [stdout] 389 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / use std::mem::MaybeUninit;
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | use crate::{
[INFO] [stdout] 8 | | box_handle::PoolBox, counter::Counter, pointer::Pointer, pool::Pool, ref_handle::PoolRef,
[INFO] [stdout] ... |
[INFO] [stdout] 96 | | }
[INFO] [stdout] 97 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:27:1
[INFO] [stdout] |
[INFO] [stdout] 27 | / pub(crate) struct RefBox {
[INFO] [stdout] 28 | | pub(crate) value: A,
[INFO] [stdout] 29 | | pub(crate) count: usize,
[INFO] [stdout] 30 | | pub(crate) pool: Pool,
[INFO] [stdout] 31 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:28:5
[INFO] [stdout] |
[INFO] [stdout] 28 | pub(crate) value: A,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:29:5
[INFO] [stdout] |
[INFO] [stdout] 29 | pub(crate) count: usize,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:30:5
[INFO] [stdout] |
[INFO] [stdout] 30 | pub(crate) pool: Pool,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | / pub(crate) unsafe fn assume_init(maybe_boxed: Box>) -> Box {
[INFO] [stdout] 13 | | Box::from_raw(Box::into_raw(maybe_boxed).cast())
[INFO] [stdout] 14 | | // TODO: Change this to `maybe_boxed.assume_init()` when the `new_uninit`
[INFO] [stdout] 15 | | // feature stabilises.
[INFO] [stdout] 16 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:18:1
[INFO] [stdout] |
[INFO] [stdout] 18 | / pub(crate) unsafe fn data_ptr(this: &mut MaybeUninit>) -> &mut MaybeUninit {
[INFO] [stdout] 19 | | (*this.as_mut_ptr())
[INFO] [stdout] 20 | | .value_as_mut_ptr()
[INFO] [stdout] 21 | | .cast::>()
[INFO] [stdout] 22 | | .as_mut()
[INFO] [stdout] 23 | | .unwrap()
[INFO] [stdout] 24 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:33:1
[INFO] [stdout] |
[INFO] [stdout] 33 | / impl RefBox {
[INFO] [stdout] 34 | | pub(crate) fn into_ref(mut self: Box) -> PoolRef {
[INFO] [stdout] 35 | | let ref_handle = self.new_ref();
[INFO] [stdout] 36 | | Box::leak(self);
[INFO] [stdout] ... |
[INFO] [stdout] 96 | | }
[INFO] [stdout] 97 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:34:5
[INFO] [stdout] |
[INFO] [stdout] 34 | / pub(crate) fn into_ref(mut self: Box) -> PoolRef {
[INFO] [stdout] 35 | | let ref_handle = self.new_ref();
[INFO] [stdout] 36 | | Box::leak(self);
[INFO] [stdout] 37 | | ref_handle
[INFO] [stdout] 38 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:40:5
[INFO] [stdout] |
[INFO] [stdout] 40 | / pub(crate) fn into_box(mut self: Box) -> PoolBox {
[INFO] [stdout] 41 | | let box_handle = self.new_box();
[INFO] [stdout] 42 | | Box::leak(self);
[INFO] [stdout] 43 | | box_handle
[INFO] [stdout] 44 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:46:5
[INFO] [stdout] |
[INFO] [stdout] 46 | / pub(crate) fn new_ref(&mut self) -> PoolRef {
[INFO] [stdout] 47 | | self.inc();
[INFO] [stdout] 48 | | PoolRef {
[INFO] [stdout] 49 | | handle: ElementPointer::wrap(self),
[INFO] [stdout] 50 | | }
[INFO] [stdout] 51 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:53:5
[INFO] [stdout] |
[INFO] [stdout] 53 | / pub(crate) fn new_box(&mut self) -> PoolBox {
[INFO] [stdout] 54 | | self.inc();
[INFO] [stdout] 55 | | PoolBox {
[INFO] [stdout] 56 | | handle: ElementPointer::wrap(self),
[INFO] [stdout] 57 | | }
[INFO] [stdout] 58 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:60:5
[INFO] [stdout] |
[INFO] [stdout] 60 | / pub(crate) fn return_to_pool(self: Box) {
[INFO] [stdout] 61 | | if !self.pool.is_full() {
[INFO] [stdout] 62 | | let pool = self.pool.clone();
[INFO] [stdout] 63 | | let ptr = Box::into_raw(self);
[INFO] [stdout] ... |
[INFO] [stdout] 68 | | }
[INFO] [stdout] 69 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:71:5
[INFO] [stdout] |
[INFO] [stdout] 71 | / pub(crate) fn value_as_ref(&self) -> &A {
[INFO] [stdout] 72 | | &self.value
[INFO] [stdout] 73 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:75:5
[INFO] [stdout] |
[INFO] [stdout] 75 | / pub(crate) fn value_as_mut(&mut self) -> &mut A {
[INFO] [stdout] 76 | | &mut self.value
[INFO] [stdout] 77 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:79:5
[INFO] [stdout] |
[INFO] [stdout] 79 | / pub(crate) unsafe fn value_as_mut_ptr(&mut self) -> *mut A {
[INFO] [stdout] 80 | | &mut self.value
[INFO] [stdout] 81 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:84:5
[INFO] [stdout] |
[INFO] [stdout] 84 | / pub(crate) fn inc(&mut self) {
[INFO] [stdout] 85 | | self.count.inc()
[INFO] [stdout] 86 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:89:5
[INFO] [stdout] |
[INFO] [stdout] 89 | / pub(crate) fn dec(&mut self) -> usize {
[INFO] [stdout] 90 | | self.count.dec()
[INFO] [stdout] 91 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/refbox.rs:94:5
[INFO] [stdout] |
[INFO] [stdout] 94 | / pub(crate) fn is_shared(&self) -> bool {
[INFO] [stdout] 95 | | self.count.count() > 1
[INFO] [stdout] 96 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/stack.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / pub(crate) trait Stack {
[INFO] [stdout] 6 | | fn stack_new(max_size: usize) -> Self;
[INFO] [stdout] 7 | | fn stack_push(&mut self, value: A);
[INFO] [stdout] 8 | | fn stack_pop(&mut self) -> Option;
[INFO] [stdout] ... |
[INFO] [stdout] 30 | | }
[INFO] [stdout] 31 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/stack.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / pub(crate) trait Stack {
[INFO] [stdout] 6 | | fn stack_new(max_size: usize) -> Self;
[INFO] [stdout] 7 | | fn stack_push(&mut self, value: A);
[INFO] [stdout] 8 | | fn stack_pop(&mut self) -> Option;
[INFO] [stdout] 9 | | fn stack_len(&self) -> usize;
[INFO] [stdout] 10 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/stack.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | fn stack_new(max_size: usize) -> Self;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/stack.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | fn stack_push(&mut self, value: A);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/stack.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | fn stack_pop(&mut self) -> Option;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/stack.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | fn stack_len(&self) -> usize;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/types.rs:1:1
[INFO] [stdout] |
[INFO] [stdout] 1 | / use crate::pool::PoolInner;
[INFO] [stdout] 2 | | use crate::refbox::RefBox;
[INFO] [stdout] 3 | | use std::ptr::NonNull;
[INFO] [stdout] 4 | |
[INFO] [stdout] 5 | | pub(crate) type ElementPointer = NonNull>;
[INFO] [stdout] 6 | | pub(crate) type PoolPointer = NonNull>;
[INFO] [stdout] | |_______________________________________________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/types.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | pub(crate) type ElementPointer = NonNull>;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/types.rs:6:1
[INFO] [stdout] |
[INFO] [stdout] 6 | pub(crate) type PoolPointer = NonNull>;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / //! Fake versions of `Pool`, `PoolRef` and `PoolBox`.
[INFO] [stdout] 6 | | //!
[INFO] [stdout] 7 | | //! This module provides zero cost wrappers for `Box` and `Rc`, as well as
[INFO] [stdout] 8 | | //! a zero sized empty `Pool`, which are code compatible with their
[INFO] [stdout] ... |
[INFO] [stdout] 11 | | //! both situations, differing only in which versions of `Pool` and friends
[INFO] [stdout] 12 | | //! you choose to import.
[INFO] [stdout] | |_________________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:29:1
[INFO] [stdout] |
[INFO] [stdout] 29 | / /// A fake `Pool` which is always empty.
[INFO] [stdout] 30 | | ///
[INFO] [stdout] 31 | | /// Note that, unlike its non-fake counterpart, this pool will always report its
[INFO] [stdout] 32 | | /// current and maximum sizes as zero, regardless of the value passed into the
[INFO] [stdout] ... |
[INFO] [stdout] 35 | | /// passed into `Pool::new(size)` will have any bearing on the actual size of the
[INFO] [stdout] 36 | | /// pool if you're writing code that might be using a fake pool.
[INFO] [stdout] | |________________________________________________________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:37:20
[INFO] [stdout] |
[INFO] [stdout] 37 | pub struct Pool(PhantomData);
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:75:1
[INFO] [stdout] |
[INFO] [stdout] 75 | /// A fake `PoolRef` which wraps an `Rc`.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:77:23
[INFO] [stdout] |
[INFO] [stdout] 77 | pub struct PoolRef(Rc);
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:259:1
[INFO] [stdout] |
[INFO] [stdout] 259 | /// A fake `PoolBox` which wraps a `Box`.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:260:23
[INFO] [stdout] |
[INFO] [stdout] 260 | pub struct PoolBox(Box);
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:39:1
[INFO] [stdout] |
[INFO] [stdout] 39 | / impl Pool {
[INFO] [stdout] 40 | | pub fn new(_size: usize) -> Self {
[INFO] [stdout] 41 | | Pool(PhantomData)
[INFO] [stdout] 42 | | }
[INFO] [stdout] ... |
[INFO] [stdout] 60 | | }
[INFO] [stdout] 61 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:40:5
[INFO] [stdout] |
[INFO] [stdout] 40 | / pub fn new(_size: usize) -> Self {
[INFO] [stdout] 41 | | Pool(PhantomData)
[INFO] [stdout] 42 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:44:5
[INFO] [stdout] |
[INFO] [stdout] 44 | / pub fn get_max_size(&self) -> usize {
[INFO] [stdout] 45 | | 0
[INFO] [stdout] 46 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:48:5
[INFO] [stdout] |
[INFO] [stdout] 48 | / pub fn get_pool_size(&self) -> usize {
[INFO] [stdout] 49 | | 0
[INFO] [stdout] 50 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:52:5
[INFO] [stdout] |
[INFO] [stdout] 52 | / pub fn is_full(&self) -> bool {
[INFO] [stdout] 53 | | true
[INFO] [stdout] 54 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:56:5
[INFO] [stdout] |
[INFO] [stdout] 56 | pub fn fill(&self) {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:58:5
[INFO] [stdout] |
[INFO] [stdout] 58 | / pub fn cast(&self) -> Pool {
[INFO] [stdout] 59 | | Pool(PhantomData)
[INFO] [stdout] 60 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:79:1
[INFO] [stdout] |
[INFO] [stdout] 79 | / impl PoolRef {
[INFO] [stdout] 80 | | #[inline(always)]
[INFO] [stdout] 81 | | pub fn default(_pool: &Pool) -> Self
[INFO] [stdout] 82 | | where
[INFO] [stdout] ... |
[INFO] [stdout] 166 | | }
[INFO] [stdout] 167 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:81:5
[INFO] [stdout] |
[INFO] [stdout] 81 | / pub fn default(_pool: &Pool) -> Self
[INFO] [stdout] 82 | | where
[INFO] [stdout] 83 | | A: PoolDefault,
[INFO] [stdout] 84 | | {
[INFO] [stdout] 85 | | Self(Default::default())
[INFO] [stdout] 86 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:89:5
[INFO] [stdout] |
[INFO] [stdout] 89 | / pub fn new(_pool: &Pool, value: A) -> Self {
[INFO] [stdout] 90 | | Self(Rc::new(value))
[INFO] [stdout] 91 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:94:5
[INFO] [stdout] |
[INFO] [stdout] 94 | / pub fn clone_from(_pool: &Pool, value: &A) -> Self
[INFO] [stdout] 95 | | where
[INFO] [stdout] 96 | | A: PoolClone,
[INFO] [stdout] 97 | | {
[INFO] [stdout] 98 | | Self(Rc::new(value.clone()))
[INFO] [stdout] 99 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:102:5
[INFO] [stdout] |
[INFO] [stdout] 102 | / pub fn pin_default(_pool: &Pool) -> Pin
[INFO] [stdout] 103 | | where
[INFO] [stdout] 104 | | A: PoolDefault,
[INFO] [stdout] 105 | | {
[INFO] [stdout] 106 | | unsafe { Pin::new_unchecked(Self(Rc::new(A::default()))) }
[INFO] [stdout] 107 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:110:5
[INFO] [stdout] |
[INFO] [stdout] 110 | / pub fn pin(_pool: &Pool, value: A) -> Pin {
[INFO] [stdout] 111 | | unsafe { Pin::new_unchecked(Self(Rc::new(value))) }
[INFO] [stdout] 112 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:115:5
[INFO] [stdout] |
[INFO] [stdout] 115 | / pub fn cloned(_pool: &Pool, this: &Self) -> Self
[INFO] [stdout] 116 | | where
[INFO] [stdout] 117 | | A: PoolClone,
[INFO] [stdout] 118 | | {
[INFO] [stdout] 119 | | Self(Rc::new(this.deref().clone()))
[INFO] [stdout] 120 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:123:5
[INFO] [stdout] |
[INFO] [stdout] 123 | / pub fn make_mut<'a>(_pool: &Pool, this: &'a mut Self) -> &'a mut A
[INFO] [stdout] 124 | | where
[INFO] [stdout] 125 | | A: PoolClone,
[INFO] [stdout] 126 | | {
[INFO] [stdout] 127 | | Rc::make_mut(&mut this.0)
[INFO] [stdout] 128 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:131:5
[INFO] [stdout] |
[INFO] [stdout] 131 | / pub fn get_mut(this: &mut Self) -> Option<&mut A> {
[INFO] [stdout] 132 | | Rc::get_mut(&mut this.0)
[INFO] [stdout] 133 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:136:5
[INFO] [stdout] |
[INFO] [stdout] 136 | / pub fn try_unwrap(this: Self) -> Result {
[INFO] [stdout] 137 | | Rc::try_unwrap(this.0).map_err(Self)
[INFO] [stdout] 138 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:141:5
[INFO] [stdout] |
[INFO] [stdout] 141 | / pub fn unwrap_or_clone(this: Self) -> A
[INFO] [stdout] 142 | | where
[INFO] [stdout] 143 | | A: PoolClone,
[INFO] [stdout] 144 | | {
[INFO] [stdout] 145 | | Self::try_unwrap(this).unwrap_or_else(|this| this.deref().clone())
[INFO] [stdout] 146 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:149:5
[INFO] [stdout] |
[INFO] [stdout] 149 | / pub fn ptr_eq(left: &Self, right: &Self) -> bool {
[INFO] [stdout] 150 | | Rc::ptr_eq(&left.0, &right.0)
[INFO] [stdout] 151 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:154:5
[INFO] [stdout] |
[INFO] [stdout] 154 | / pub fn strong_count(this: &Self) -> usize {
[INFO] [stdout] 155 | | Rc::strong_count(&this.0)
[INFO] [stdout] 156 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:159:5
[INFO] [stdout] |
[INFO] [stdout] 159 | / pub fn into_raw(this: PoolRef) -> *const A {
[INFO] [stdout] 160 | | Rc::into_raw(this.0)
[INFO] [stdout] 161 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:164:5
[INFO] [stdout] |
[INFO] [stdout] 164 | / pub unsafe fn from_raw(ptr: *mut A) -> Self {
[INFO] [stdout] 165 | | Self(Rc::from_raw(ptr))
[INFO] [stdout] 166 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:262:1
[INFO] [stdout] |
[INFO] [stdout] 262 | / impl PoolBox {
[INFO] [stdout] 263 | | #[inline(always)]
[INFO] [stdout] 264 | | pub fn default(_pool: &Pool) -> Self
[INFO] [stdout] 265 | | where
[INFO] [stdout] ... |
[INFO] [stdout] 310 | | }
[INFO] [stdout] 311 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:264:5
[INFO] [stdout] |
[INFO] [stdout] 264 | / pub fn default(_pool: &Pool) -> Self
[INFO] [stdout] 265 | | where
[INFO] [stdout] 266 | | A: PoolDefault,
[INFO] [stdout] 267 | | {
[INFO] [stdout] 268 | | Self(Box::new(A::default()))
[INFO] [stdout] 269 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:272:5
[INFO] [stdout] |
[INFO] [stdout] 272 | / pub fn new(_pool: &Pool, value: A) -> Self {
[INFO] [stdout] 273 | | Self(Box::new(value))
[INFO] [stdout] 274 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:277:5
[INFO] [stdout] |
[INFO] [stdout] 277 | / pub fn clone_from(_pool: &Pool, value: &A) -> Self
[INFO] [stdout] 278 | | where
[INFO] [stdout] 279 | | A: PoolClone,
[INFO] [stdout] 280 | | {
[INFO] [stdout] 281 | | Self(Box::new(value.clone()))
[INFO] [stdout] 282 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:285:5
[INFO] [stdout] |
[INFO] [stdout] 285 | / pub fn pin_default(_pool: &Pool) -> Pin
[INFO] [stdout] 286 | | where
[INFO] [stdout] 287 | | A: PoolDefault,
[INFO] [stdout] 288 | | {
[INFO] [stdout] 289 | | unsafe { Pin::new_unchecked(Self(Box::new(A::default()))) }
[INFO] [stdout] 290 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:293:5
[INFO] [stdout] |
[INFO] [stdout] 293 | / pub fn pin(_pool: &Pool, value: A) -> Pin {
[INFO] [stdout] 294 | | unsafe { Pin::new_unchecked(Self(Box::new(value))) }
[INFO] [stdout] 295 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:298:5
[INFO] [stdout] |
[INFO] [stdout] 298 | / pub fn ptr_eq(left: &Self, right: &Self) -> bool {
[INFO] [stdout] 299 | | std::ptr::eq(left.0.deref(), right.0.deref())
[INFO] [stdout] 300 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:303:5
[INFO] [stdout] |
[INFO] [stdout] 303 | / pub fn into_raw(this: Self) -> *mut A {
[INFO] [stdout] 304 | | Box::into_raw(this.0)
[INFO] [stdout] 305 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:308:5
[INFO] [stdout] |
[INFO] [stdout] 308 | / pub unsafe fn from_raw(ptr: *mut A) -> Self {
[INFO] [stdout] 309 | | Self(Box::from_raw(ptr))
[INFO] [stdout] 310 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:5:1
[INFO] [stdout] |
[INFO] [stdout] 5 | / use std::collections::{BTreeMap, BTreeSet, BinaryHeap, HashMap, HashSet, LinkedList, VecDeque};
[INFO] [stdout] 6 | | use std::hash::{BuildHasher, Hash};
[INFO] [stdout] 7 | | use std::mem::MaybeUninit;
[INFO] [stdout] 8 | | use std::path::PathBuf;
[INFO] [stdout] ... |
[INFO] [stdout] 153 | | {
[INFO] [stdout] 154 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | / /// A marker trait for types which should be fully initialised.
[INFO] [stdout] 13 | | ///
[INFO] [stdout] 14 | | /// Implementing this trait for a type provides a [`PoolDefault`][PoolDefault]
[INFO] [stdout] 15 | | /// implementation which writes the result of
[INFO] [stdout] ... |
[INFO] [stdout] 34 | | /// [Clone]: https://doc.rust-lang.org/std/clone/trait.Clone.html
[INFO] [stdout] 35 | | /// [Clone::clone]: https://doc.rust-lang.org/std/clone/trait.Clone.html#tymethod.clone
[INFO] [stdout] | |_______________________________________________________________________________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/lib.rs:177:1
[INFO] [stdout] |
[INFO] [stdout] 177 | /// A trait for initialising a `MaybeUninit` to a default value.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/lib.rs:179:5
[INFO] [stdout] |
[INFO] [stdout] 179 | / /// Initialise an instance of `Self` to its default state.
[INFO] [stdout] 180 | | ///
[INFO] [stdout] 181 | | /// Specifically, after calling `self.default_uninit()`, the object's state
[INFO] [stdout] 182 | | /// should be equal to what `::default()` would produce.
[INFO] [stdout] ... |
[INFO] [stdout] 187 | | /// uninitialised memory, and you must leave it in a fully initialised
[INFO] [stdout] 188 | | /// state, as expected by `MaybeUninit::assume_init()`.
[INFO] [stdout] | |___________________________________________________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/lib.rs:192:1
[INFO] [stdout] |
[INFO] [stdout] 192 | /// A trait for cloning a value into a `MaybeUninit`.
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/lib.rs:194:5
[INFO] [stdout] |
[INFO] [stdout] 194 | / /// Clone an instance of `Self` into an uninitialised instance of `Self`.
[INFO] [stdout] 195 | | ///
[INFO] [stdout] 196 | | /// # Safety
[INFO] [stdout] 197 | | ///
[INFO] [stdout] 198 | | /// You should assume that the object as passed to you contains
[INFO] [stdout] 199 | | /// uninitialised memory, and you must leave it in a fully initialised
[INFO] [stdout] 200 | | /// state, as expected by `MaybeUninit::assume_init()`.
[INFO] [stdout] | |___________________________________________________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:42:5
[INFO] [stdout] |
[INFO] [stdout] 42 | / unsafe fn default_uninit(target: &mut MaybeUninit) {
[INFO] [stdout] 43 | | target.as_mut_ptr().write(Default::default());
[INFO] [stdout] 44 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:51:5
[INFO] [stdout] |
[INFO] [stdout] 51 | / unsafe fn clone_uninit(&self, target: &mut MaybeUninit) {
[INFO] [stdout] 52 | | target.as_mut_ptr().write(self.clone());
[INFO] [stdout] 53 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/counter.rs:11:1
[INFO] [stdout] |
[INFO] [stdout] 11 | / impl Counter for usize {
[INFO] [stdout] 12 | | #[inline(always)]
[INFO] [stdout] 13 | | fn inc(&mut self) {
[INFO] [stdout] 14 | | *self += 1;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | }
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/counter.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | / fn inc(&mut self) {
[INFO] [stdout] 14 | | *self += 1;
[INFO] [stdout] 15 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/counter.rs:18:5
[INFO] [stdout] |
[INFO] [stdout] 18 | / fn dec(&mut self) -> usize {
[INFO] [stdout] 19 | | let prev = *self;
[INFO] [stdout] 20 | | *self -= 1;
[INFO] [stdout] 21 | | prev
[INFO] [stdout] 22 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/counter.rs:25:5
[INFO] [stdout] |
[INFO] [stdout] 25 | / fn count(&self) -> usize {
[INFO] [stdout] 26 | | *self
[INFO] [stdout] 27 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:15:1
[INFO] [stdout] |
[INFO] [stdout] 15 | / impl Pointer for NonNull {
[INFO] [stdout] 16 | | #[inline(always)]
[INFO] [stdout] 17 | | fn wrap(ptr: *mut A) -> Self {
[INFO] [stdout] 18 | | debug_assert_eq!(false, ptr.is_null());
[INFO] [stdout] ... |
[INFO] [stdout] 44 | | }
[INFO] [stdout] 45 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | / fn wrap(ptr: *mut A) -> Self {
[INFO] [stdout] 18 | | debug_assert_eq!(false, ptr.is_null());
[INFO] [stdout] 19 | | unsafe { NonNull::new_unchecked(ptr) }
[INFO] [stdout] 20 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:23:5
[INFO] [stdout] |
[INFO] [stdout] 23 | / fn get_ptr(&self) -> *mut A {
[INFO] [stdout] 24 | | self.as_ptr()
[INFO] [stdout] 25 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:28:5
[INFO] [stdout] |
[INFO] [stdout] 28 | / fn cast(self) -> *mut B {
[INFO] [stdout] 29 | | self.as_ptr().cast()
[INFO] [stdout] 30 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:33:5
[INFO] [stdout] |
[INFO] [stdout] 33 | / fn get_ptr_checked(&self) -> Option<*mut A> {
[INFO] [stdout] 34 | | if *self == NonNull::dangling() {
[INFO] [stdout] 35 | | None
[INFO] [stdout] 36 | | } else {
[INFO] [stdout] 37 | | Some(self.as_ptr())
[INFO] [stdout] 38 | | }
[INFO] [stdout] 39 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pointer.rs:42:5
[INFO] [stdout] |
[INFO] [stdout] 42 | / fn null() -> Self {
[INFO] [stdout] 43 | | NonNull::dangling()
[INFO] [stdout] 44 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/stack.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | / impl Stack for Vec {
[INFO] [stdout] 13 | | fn stack_new(max_size: usize) -> Self {
[INFO] [stdout] 14 | | Self::with_capacity(max_size)
[INFO] [stdout] 15 | | }
[INFO] [stdout] ... |
[INFO] [stdout] 30 | | }
[INFO] [stdout] 31 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/stack.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | / fn stack_new(max_size: usize) -> Self {
[INFO] [stdout] 14 | | Self::with_capacity(max_size)
[INFO] [stdout] 15 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/stack.rs:18:5
[INFO] [stdout] |
[INFO] [stdout] 18 | / fn stack_push(&mut self, value: A) {
[INFO] [stdout] 19 | | self.push(value);
[INFO] [stdout] 20 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/stack.rs:23:5
[INFO] [stdout] |
[INFO] [stdout] 23 | / fn stack_pop(&mut self) -> Option {
[INFO] [stdout] 24 | | self.pop()
[INFO] [stdout] 25 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/stack.rs:28:5
[INFO] [stdout] |
[INFO] [stdout] 28 | / fn stack_len(&self) -> usize {
[INFO] [stdout] 29 | | self.len()
[INFO] [stdout] 30 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:56:1
[INFO] [stdout] |
[INFO] [stdout] 56 | impl PoolDefaultImpl for bool {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:58:1
[INFO] [stdout] |
[INFO] [stdout] 58 | impl PoolDefaultImpl for u8 {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:59:1
[INFO] [stdout] |
[INFO] [stdout] 59 | impl PoolDefaultImpl for u16 {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:60:1
[INFO] [stdout] |
[INFO] [stdout] 60 | impl PoolDefaultImpl for u32 {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:61:1
[INFO] [stdout] |
[INFO] [stdout] 61 | impl PoolDefaultImpl for u64 {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:62:1
[INFO] [stdout] |
[INFO] [stdout] 62 | impl PoolDefaultImpl for u128 {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:63:1
[INFO] [stdout] |
[INFO] [stdout] 63 | impl PoolDefaultImpl for usize {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:65:1
[INFO] [stdout] |
[INFO] [stdout] 65 | impl PoolDefaultImpl for i8 {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:66:1
[INFO] [stdout] |
[INFO] [stdout] 66 | impl PoolDefaultImpl for i16 {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:67:1
[INFO] [stdout] |
[INFO] [stdout] 67 | impl PoolDefaultImpl for i32 {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:68:1
[INFO] [stdout] |
[INFO] [stdout] 68 | impl PoolDefaultImpl for i64 {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:69:1
[INFO] [stdout] |
[INFO] [stdout] 69 | impl PoolDefaultImpl for i128 {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:70:1
[INFO] [stdout] |
[INFO] [stdout] 70 | impl PoolDefaultImpl for isize {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:72:1
[INFO] [stdout] |
[INFO] [stdout] 72 | impl PoolDefaultImpl for Option {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:74:1
[INFO] [stdout] |
[INFO] [stdout] 74 | impl PoolDefaultImpl for String {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:75:1
[INFO] [stdout] |
[INFO] [stdout] 75 | impl PoolDefaultImpl for PathBuf {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:77:1
[INFO] [stdout] |
[INFO] [stdout] 77 | impl PoolDefaultImpl for Vec {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:78:1
[INFO] [stdout] |
[INFO] [stdout] 78 | impl PoolDefaultImpl for VecDeque {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:79:1
[INFO] [stdout] |
[INFO] [stdout] 79 | impl PoolDefaultImpl for HashSet {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:80:1
[INFO] [stdout] |
[INFO] [stdout] 80 | impl PoolDefaultImpl for HashMap {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:81:1
[INFO] [stdout] |
[INFO] [stdout] 81 | impl PoolDefaultImpl for BTreeMap {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:82:1
[INFO] [stdout] |
[INFO] [stdout] 82 | impl PoolDefaultImpl for BTreeSet {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:83:1
[INFO] [stdout] |
[INFO] [stdout] 83 | impl PoolDefaultImpl for BinaryHeap {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:84:1
[INFO] [stdout] |
[INFO] [stdout] 84 | impl PoolDefaultImpl for LinkedList {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:86:1
[INFO] [stdout] |
[INFO] [stdout] 86 | / impl PoolDefaultImpl for (A, B)
[INFO] [stdout] 87 | | where
[INFO] [stdout] 88 | | A: PoolDefaultImpl,
[INFO] [stdout] 89 | | B: PoolDefaultImpl,
[INFO] [stdout] 90 | | {
[INFO] [stdout] 91 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:93:1
[INFO] [stdout] |
[INFO] [stdout] 93 | / impl PoolDefaultImpl for (A, B, C)
[INFO] [stdout] 94 | | where
[INFO] [stdout] 95 | | A: PoolDefaultImpl,
[INFO] [stdout] 96 | | B: PoolDefaultImpl,
[INFO] [stdout] 97 | | C: PoolDefaultImpl,
[INFO] [stdout] 98 | | {
[INFO] [stdout] 99 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:101:1
[INFO] [stdout] |
[INFO] [stdout] 101 | / impl PoolDefaultImpl for (A, B, C, D)
[INFO] [stdout] 102 | | where
[INFO] [stdout] 103 | | A: PoolDefaultImpl,
[INFO] [stdout] 104 | | B: PoolDefaultImpl,
[INFO] [stdout] ... |
[INFO] [stdout] 107 | | {
[INFO] [stdout] 108 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:110:1
[INFO] [stdout] |
[INFO] [stdout] 110 | / impl PoolDefaultImpl for (A, B, C, D, E)
[INFO] [stdout] 111 | | where
[INFO] [stdout] 112 | | A: PoolDefaultImpl,
[INFO] [stdout] 113 | | B: PoolDefaultImpl,
[INFO] [stdout] ... |
[INFO] [stdout] 117 | | {
[INFO] [stdout] 118 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:120:1
[INFO] [stdout] |
[INFO] [stdout] 120 | / impl PoolDefaultImpl for (A, B, C, D, E, F)
[INFO] [stdout] 121 | | where
[INFO] [stdout] 122 | | A: PoolDefaultImpl,
[INFO] [stdout] 123 | | B: PoolDefaultImpl,
[INFO] [stdout] ... |
[INFO] [stdout] 128 | | {
[INFO] [stdout] 129 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:131:1
[INFO] [stdout] |
[INFO] [stdout] 131 | / impl PoolDefaultImpl for (A, B, C, D, E, F, G)
[INFO] [stdout] 132 | | where
[INFO] [stdout] 133 | | A: PoolDefaultImpl,
[INFO] [stdout] 134 | | B: PoolDefaultImpl,
[INFO] [stdout] ... |
[INFO] [stdout] 140 | | {
[INFO] [stdout] 141 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:143:1
[INFO] [stdout] |
[INFO] [stdout] 143 | / impl PoolDefaultImpl for (A, B, C, D, E, F, G, H)
[INFO] [stdout] 144 | | where
[INFO] [stdout] 145 | | A: PoolDefaultImpl,
[INFO] [stdout] 146 | | B: PoolDefaultImpl,
[INFO] [stdout] ... |
[INFO] [stdout] 153 | | {
[INFO] [stdout] 154 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:38:1
[INFO] [stdout] |
[INFO] [stdout] 38 | / impl PoolDefault for A
[INFO] [stdout] 39 | | where
[INFO] [stdout] 40 | | A: PoolDefaultImpl,
[INFO] [stdout] 41 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 44 | | }
[INFO] [stdout] 45 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/std_types.rs:47:1
[INFO] [stdout] |
[INFO] [stdout] 47 | / impl PoolClone for A
[INFO] [stdout] 48 | | where
[INFO] [stdout] 49 | | A: PoolDefaultImpl + Clone,
[INFO] [stdout] 50 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 53 | | }
[INFO] [stdout] 54 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:231:1
[INFO] [stdout] |
[INFO] [stdout] 231 | / impl Drop for PoolBox {
[INFO] [stdout] 232 | | fn drop(&mut self) {
[INFO] [stdout] 233 | | let handle = unsafe { Box::from_raw(self.handle.get_ptr()) };
[INFO] [stdout] 234 | | handle.return_to_pool();
[INFO] [stdout] 235 | | }
[INFO] [stdout] 236 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:232:5
[INFO] [stdout] |
[INFO] [stdout] 232 | / fn drop(&mut self) {
[INFO] [stdout] 233 | | let handle = unsafe { Box::from_raw(self.handle.get_ptr()) };
[INFO] [stdout] 234 | | handle.return_to_pool();
[INFO] [stdout] 235 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:180:1
[INFO] [stdout] |
[INFO] [stdout] 180 | / impl Drop for Pool {
[INFO] [stdout] 181 | | fn drop(&mut self) {
[INFO] [stdout] 182 | | if let Some(ptr) = self.inner.get_ptr_checked() {
[INFO] [stdout] 183 | | if unsafe { (*ptr).dec() } == 1 {
[INFO] [stdout] ... |
[INFO] [stdout] 187 | | }
[INFO] [stdout] 188 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:181:5
[INFO] [stdout] |
[INFO] [stdout] 181 | / fn drop(&mut self) {
[INFO] [stdout] 182 | | if let Some(ptr) = self.inner.get_ptr_checked() {
[INFO] [stdout] 183 | | if unsafe { (*ptr).dec() } == 1 {
[INFO] [stdout] 184 | | std::mem::drop(unsafe { Box::from_raw(ptr) });
[INFO] [stdout] 185 | | }
[INFO] [stdout] 186 | | }
[INFO] [stdout] 187 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:274:1
[INFO] [stdout] |
[INFO] [stdout] 274 | / impl Drop for PoolInner {
[INFO] [stdout] 275 | | fn drop(&mut self) {
[INFO] [stdout] 276 | | while let Some(chunk) = self.stack.stack_pop() {
[INFO] [stdout] 277 | | unsafe {
[INFO] [stdout] ... |
[INFO] [stdout] 287 | | }
[INFO] [stdout] 288 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:275:5
[INFO] [stdout] |
[INFO] [stdout] 275 | / fn drop(&mut self) {
[INFO] [stdout] 276 | | while let Some(chunk) = self.stack.stack_pop() {
[INFO] [stdout] 277 | | unsafe {
[INFO] [stdout] 278 | | std::alloc::dealloc(
[INFO] [stdout] ... |
[INFO] [stdout] 286 | | }
[INFO] [stdout] 287 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:392:1
[INFO] [stdout] |
[INFO] [stdout] 392 | / impl Drop for PoolRef {
[INFO] [stdout] 393 | | fn drop(&mut self) {
[INFO] [stdout] 394 | | if self.box_ref_mut().dec() != 1 {
[INFO] [stdout] 395 | | return;
[INFO] [stdout] ... |
[INFO] [stdout] 399 | | }
[INFO] [stdout] 400 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:393:5
[INFO] [stdout] |
[INFO] [stdout] 393 | / fn drop(&mut self) {
[INFO] [stdout] 394 | | if self.box_ref_mut().dec() != 1 {
[INFO] [stdout] 395 | | return;
[INFO] [stdout] 396 | | }
[INFO] [stdout] 397 | | let handle = unsafe { Box::from_raw(self.handle.get_ptr()) };
[INFO] [stdout] 398 | | handle.return_to_pool();
[INFO] [stdout] 399 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:289:1
[INFO] [stdout] |
[INFO] [stdout] 289 | / impl AsMut for PoolBox {
[INFO] [stdout] 290 | | fn as_mut(&mut self) -> &mut A {
[INFO] [stdout] 291 | | self.deref_mut()
[INFO] [stdout] 292 | | }
[INFO] [stdout] 293 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:290:5
[INFO] [stdout] |
[INFO] [stdout] 290 | / fn as_mut(&mut self) -> &mut A {
[INFO] [stdout] 291 | | self.deref_mut()
[INFO] [stdout] 292 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:333:1
[INFO] [stdout] |
[INFO] [stdout] 333 | / impl AsMut for PoolBox {
[INFO] [stdout] 334 | | fn as_mut(&mut self) -> &mut A {
[INFO] [stdout] 335 | | self.deref_mut()
[INFO] [stdout] 336 | | }
[INFO] [stdout] 337 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:334:5
[INFO] [stdout] |
[INFO] [stdout] 334 | / fn as_mut(&mut self) -> &mut A {
[INFO] [stdout] 335 | | self.deref_mut()
[INFO] [stdout] 336 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:283:1
[INFO] [stdout] |
[INFO] [stdout] 283 | / impl AsRef for PoolBox {
[INFO] [stdout] 284 | | fn as_ref(&self) -> &A {
[INFO] [stdout] 285 | | self.deref()
[INFO] [stdout] 286 | | }
[INFO] [stdout] 287 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:284:5
[INFO] [stdout] |
[INFO] [stdout] 284 | / fn as_ref(&self) -> &A {
[INFO] [stdout] 285 | | self.deref()
[INFO] [stdout] 286 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:419:1
[INFO] [stdout] |
[INFO] [stdout] 419 | / impl AsRef for PoolRef {
[INFO] [stdout] 420 | | fn as_ref(&self) -> &A {
[INFO] [stdout] 421 | | self.deref()
[INFO] [stdout] 422 | | }
[INFO] [stdout] 423 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:420:5
[INFO] [stdout] |
[INFO] [stdout] 420 | / fn as_ref(&self) -> &A {
[INFO] [stdout] 421 | | self.deref()
[INFO] [stdout] 422 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:184:1
[INFO] [stdout] |
[INFO] [stdout] 184 | / impl AsRef for PoolRef {
[INFO] [stdout] 185 | | fn as_ref(&self) -> &A {
[INFO] [stdout] 186 | | self.deref()
[INFO] [stdout] 187 | | }
[INFO] [stdout] 188 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:185:5
[INFO] [stdout] |
[INFO] [stdout] 185 | / fn as_ref(&self) -> &A {
[INFO] [stdout] 186 | | self.deref()
[INFO] [stdout] 187 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:327:1
[INFO] [stdout] |
[INFO] [stdout] 327 | / impl AsRef for PoolBox {
[INFO] [stdout] 328 | | fn as_ref(&self) -> &A {
[INFO] [stdout] 329 | | self.deref()
[INFO] [stdout] 330 | | }
[INFO] [stdout] 331 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:328:5
[INFO] [stdout] |
[INFO] [stdout] 328 | / fn as_ref(&self) -> &A {
[INFO] [stdout] 329 | | self.deref()
[INFO] [stdout] 330 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:238:1
[INFO] [stdout] |
[INFO] [stdout] 238 | / impl Clone for PoolBox
[INFO] [stdout] 239 | | where
[INFO] [stdout] 240 | | A: PoolClone,
[INFO] [stdout] 241 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 267 | | }
[INFO] [stdout] 268 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:170:1
[INFO] [stdout] |
[INFO] [stdout] 170 | / impl Clone for Pool {
[INFO] [stdout] 171 | | fn clone(&self) -> Self {
[INFO] [stdout] 172 | | if let Some(inner) = self.inner.get_ptr_checked() {
[INFO] [stdout] 173 | | unsafe { (*inner).make_ref() }
[INFO] [stdout] ... |
[INFO] [stdout] 177 | | }
[INFO] [stdout] 178 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:171:5
[INFO] [stdout] |
[INFO] [stdout] 171 | / fn clone(&self) -> Self {
[INFO] [stdout] 172 | | if let Some(inner) = self.inner.get_ptr_checked() {
[INFO] [stdout] 173 | | unsafe { (*inner).make_ref() }
[INFO] [stdout] 174 | | } else {
[INFO] [stdout] 175 | | Self::new(0)
[INFO] [stdout] 176 | | }
[INFO] [stdout] 177 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:402:1
[INFO] [stdout] |
[INFO] [stdout] 402 | / impl Clone for PoolRef {
[INFO] [stdout] 403 | | fn clone(&self) -> Self {
[INFO] [stdout] 404 | | let mut new_ref: Self = PoolRef {
[INFO] [stdout] 405 | | handle: ElementPointer::wrap(self.handle.get_ptr()),
[INFO] [stdout] ... |
[INFO] [stdout] 409 | | }
[INFO] [stdout] 410 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:403:5
[INFO] [stdout] |
[INFO] [stdout] 403 | / fn clone(&self) -> Self {
[INFO] [stdout] 404 | | let mut new_ref: Self = PoolRef {
[INFO] [stdout] 405 | | handle: ElementPointer::wrap(self.handle.get_ptr()),
[INFO] [stdout] 406 | | };
[INFO] [stdout] 407 | | new_ref.box_ref_mut().inc();
[INFO] [stdout] 408 | | new_ref
[INFO] [stdout] 409 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:63:1
[INFO] [stdout] |
[INFO] [stdout] 63 | / impl Clone for Pool {
[INFO] [stdout] 64 | | fn clone(&self) -> Self {
[INFO] [stdout] 65 | | Self::new(0)
[INFO] [stdout] 66 | | }
[INFO] [stdout] 67 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:64:5
[INFO] [stdout] |
[INFO] [stdout] 64 | / fn clone(&self) -> Self {
[INFO] [stdout] 65 | | Self::new(0)
[INFO] [stdout] 66 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:169:1
[INFO] [stdout] |
[INFO] [stdout] 169 | / impl Clone for PoolRef {
[INFO] [stdout] 170 | | #[inline(always)]
[INFO] [stdout] 171 | | fn clone(&self) -> Self {
[INFO] [stdout] 172 | | PoolRef(self.0.clone())
[INFO] [stdout] 173 | | }
[INFO] [stdout] 174 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:171:5
[INFO] [stdout] |
[INFO] [stdout] 171 | / fn clone(&self) -> Self {
[INFO] [stdout] 172 | | PoolRef(self.0.clone())
[INFO] [stdout] 173 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:316:1
[INFO] [stdout] |
[INFO] [stdout] 316 | impl Eq for PoolBox where A: Eq {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:440:1
[INFO] [stdout] |
[INFO] [stdout] 440 | impl Eq for PoolRef where A: Eq {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:206:1
[INFO] [stdout] |
[INFO] [stdout] 206 | impl Eq for PoolRef where A: Eq {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:360:1
[INFO] [stdout] |
[INFO] [stdout] 360 | impl Eq for PoolBox where A: Eq {}
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:327:1
[INFO] [stdout] |
[INFO] [stdout] 327 | / impl Ord for PoolBox
[INFO] [stdout] 328 | | where
[INFO] [stdout] 329 | | A: Ord,
[INFO] [stdout] 330 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 333 | | }
[INFO] [stdout] 334 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:331:5
[INFO] [stdout] |
[INFO] [stdout] 331 | / fn cmp(&self, other: &Self) -> Ordering {
[INFO] [stdout] 332 | | (**self).cmp(&**other)
[INFO] [stdout] 333 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:451:1
[INFO] [stdout] |
[INFO] [stdout] 451 | / impl Ord for PoolRef
[INFO] [stdout] 452 | | where
[INFO] [stdout] 453 | | A: Ord,
[INFO] [stdout] 454 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 457 | | }
[INFO] [stdout] 458 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:455:5
[INFO] [stdout] |
[INFO] [stdout] 455 | / fn cmp(&self, other: &Self) -> Ordering {
[INFO] [stdout] 456 | | (**self).cmp(&**other)
[INFO] [stdout] 457 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:217:1
[INFO] [stdout] |
[INFO] [stdout] 217 | / impl Ord for PoolRef
[INFO] [stdout] 218 | | where
[INFO] [stdout] 219 | | A: Ord,
[INFO] [stdout] 220 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 223 | | }
[INFO] [stdout] 224 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:221:5
[INFO] [stdout] |
[INFO] [stdout] 221 | / fn cmp(&self, other: &Self) -> Ordering {
[INFO] [stdout] 222 | | (**self).cmp(&**other)
[INFO] [stdout] 223 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:371:1
[INFO] [stdout] |
[INFO] [stdout] 371 | / impl Ord for PoolBox
[INFO] [stdout] 372 | | where
[INFO] [stdout] 373 | | A: Ord,
[INFO] [stdout] 374 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 377 | | }
[INFO] [stdout] 378 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:375:5
[INFO] [stdout] |
[INFO] [stdout] 375 | / fn cmp(&self, other: &Self) -> Ordering {
[INFO] [stdout] 376 | | (**self).cmp(&**other)
[INFO] [stdout] 377 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:307:1
[INFO] [stdout] |
[INFO] [stdout] 307 | / impl PartialEq for PoolBox
[INFO] [stdout] 308 | | where
[INFO] [stdout] 309 | | A: PartialEq,
[INFO] [stdout] 310 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 313 | | }
[INFO] [stdout] 314 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:311:5
[INFO] [stdout] |
[INFO] [stdout] 311 | / fn eq(&self, other: &Self) -> bool {
[INFO] [stdout] 312 | | (**self) == (**other)
[INFO] [stdout] 313 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:431:1
[INFO] [stdout] |
[INFO] [stdout] 431 | / impl PartialEq for PoolRef
[INFO] [stdout] 432 | | where
[INFO] [stdout] 433 | | A: PartialEq,
[INFO] [stdout] 434 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 437 | | }
[INFO] [stdout] 438 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:435:5
[INFO] [stdout] |
[INFO] [stdout] 435 | / fn eq(&self, other: &Self) -> bool {
[INFO] [stdout] 436 | | (**self) == (**other)
[INFO] [stdout] 437 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:196:1
[INFO] [stdout] |
[INFO] [stdout] 196 | / impl PartialEq for PoolRef
[INFO] [stdout] 197 | | where
[INFO] [stdout] 198 | | A: PartialEq,
[INFO] [stdout] 199 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 203 | | }
[INFO] [stdout] 204 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:201:5
[INFO] [stdout] |
[INFO] [stdout] 201 | / fn eq(&self, other: &Self) -> bool {
[INFO] [stdout] 202 | | **self == **other
[INFO] [stdout] 203 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:351:1
[INFO] [stdout] |
[INFO] [stdout] 351 | / impl PartialEq for PoolBox
[INFO] [stdout] 352 | | where
[INFO] [stdout] 353 | | A: PartialEq,
[INFO] [stdout] 354 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 357 | | }
[INFO] [stdout] 358 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:355:5
[INFO] [stdout] |
[INFO] [stdout] 355 | / fn eq(&self, other: &Self) -> bool {
[INFO] [stdout] 356 | | (**self) == (**other)
[INFO] [stdout] 357 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:318:1
[INFO] [stdout] |
[INFO] [stdout] 318 | / impl PartialOrd for PoolBox
[INFO] [stdout] 319 | | where
[INFO] [stdout] 320 | | A: PartialOrd,
[INFO] [stdout] 321 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 324 | | }
[INFO] [stdout] 325 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:322:5
[INFO] [stdout] |
[INFO] [stdout] 322 | / fn partial_cmp(&self, other: &Self) -> Option {
[INFO] [stdout] 323 | | (**self).partial_cmp(&**other)
[INFO] [stdout] 324 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:442:1
[INFO] [stdout] |
[INFO] [stdout] 442 | / impl PartialOrd for PoolRef
[INFO] [stdout] 443 | | where
[INFO] [stdout] 444 | | A: PartialOrd,
[INFO] [stdout] 445 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 448 | | }
[INFO] [stdout] 449 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:446:5
[INFO] [stdout] |
[INFO] [stdout] 446 | / fn partial_cmp(&self, other: &Self) -> Option {
[INFO] [stdout] 447 | | (**self).partial_cmp(&**other)
[INFO] [stdout] 448 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:208:1
[INFO] [stdout] |
[INFO] [stdout] 208 | / impl PartialOrd for PoolRef
[INFO] [stdout] 209 | | where
[INFO] [stdout] 210 | | A: PartialOrd,
[INFO] [stdout] 211 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 214 | | }
[INFO] [stdout] 215 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:212:5
[INFO] [stdout] |
[INFO] [stdout] 212 | / fn partial_cmp(&self, other: &Self) -> Option {
[INFO] [stdout] 213 | | (**self).partial_cmp(&**other)
[INFO] [stdout] 214 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:362:1
[INFO] [stdout] |
[INFO] [stdout] 362 | / impl PartialOrd for PoolBox
[INFO] [stdout] 363 | | where
[INFO] [stdout] 364 | | A: PartialOrd,
[INFO] [stdout] 365 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 368 | | }
[INFO] [stdout] 369 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:366:5
[INFO] [stdout] |
[INFO] [stdout] 366 | / fn partial_cmp(&self, other: &Self) -> Option {
[INFO] [stdout] 367 | | (**self).partial_cmp(&**other)
[INFO] [stdout] 368 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:270:1
[INFO] [stdout] |
[INFO] [stdout] 270 | / impl Deref for PoolBox {
[INFO] [stdout] 271 | | type Target = A;
[INFO] [stdout] 272 | | fn deref(&self) -> &Self::Target {
[INFO] [stdout] 273 | | self.box_ref().value_as_ref()
[INFO] [stdout] 274 | | }
[INFO] [stdout] 275 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:271:5
[INFO] [stdout] |
[INFO] [stdout] 271 | type Target = A;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:272:5
[INFO] [stdout] |
[INFO] [stdout] 272 | / fn deref(&self) -> &Self::Target {
[INFO] [stdout] 273 | | self.box_ref().value_as_ref()
[INFO] [stdout] 274 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:412:1
[INFO] [stdout] |
[INFO] [stdout] 412 | / impl Deref for PoolRef {
[INFO] [stdout] 413 | | type Target = A;
[INFO] [stdout] 414 | | fn deref(&self) -> &Self::Target {
[INFO] [stdout] 415 | | self.box_ref().value_as_ref()
[INFO] [stdout] 416 | | }
[INFO] [stdout] 417 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:413:5
[INFO] [stdout] |
[INFO] [stdout] 413 | type Target = A;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:414:5
[INFO] [stdout] |
[INFO] [stdout] 414 | / fn deref(&self) -> &Self::Target {
[INFO] [stdout] 415 | | self.box_ref().value_as_ref()
[INFO] [stdout] 416 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:176:1
[INFO] [stdout] |
[INFO] [stdout] 176 | / impl Deref for PoolRef {
[INFO] [stdout] 177 | | type Target = A;
[INFO] [stdout] 178 | | #[inline(always)]
[INFO] [stdout] 179 | | fn deref(&self) -> &Self::Target {
[INFO] [stdout] 180 | | self.0.deref()
[INFO] [stdout] 181 | | }
[INFO] [stdout] 182 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:177:5
[INFO] [stdout] |
[INFO] [stdout] 177 | type Target = A;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:179:5
[INFO] [stdout] |
[INFO] [stdout] 179 | / fn deref(&self) -> &Self::Target {
[INFO] [stdout] 180 | | self.0.deref()
[INFO] [stdout] 181 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:313:1
[INFO] [stdout] |
[INFO] [stdout] 313 | / impl Deref for PoolBox {
[INFO] [stdout] 314 | | type Target = A;
[INFO] [stdout] 315 | | #[inline(always)]
[INFO] [stdout] 316 | | fn deref(&self) -> &Self::Target {
[INFO] [stdout] 317 | | self.0.deref()
[INFO] [stdout] 318 | | }
[INFO] [stdout] 319 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:314:5
[INFO] [stdout] |
[INFO] [stdout] 314 | type Target = A;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:316:5
[INFO] [stdout] |
[INFO] [stdout] 316 | / fn deref(&self) -> &Self::Target {
[INFO] [stdout] 317 | | self.0.deref()
[INFO] [stdout] 318 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:277:1
[INFO] [stdout] |
[INFO] [stdout] 277 | / impl DerefMut for PoolBox {
[INFO] [stdout] 278 | | fn deref_mut(&mut self) -> &mut Self::Target {
[INFO] [stdout] 279 | | self.box_ref_mut().value_as_mut()
[INFO] [stdout] 280 | | }
[INFO] [stdout] 281 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:278:5
[INFO] [stdout] |
[INFO] [stdout] 278 | / fn deref_mut(&mut self) -> &mut Self::Target {
[INFO] [stdout] 279 | | self.box_ref_mut().value_as_mut()
[INFO] [stdout] 280 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:321:1
[INFO] [stdout] |
[INFO] [stdout] 321 | / impl DerefMut for PoolBox {
[INFO] [stdout] 322 | | fn deref_mut(&mut self) -> &mut Self::Target {
[INFO] [stdout] 323 | | self.0.deref_mut()
[INFO] [stdout] 324 | | }
[INFO] [stdout] 325 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:322:5
[INFO] [stdout] |
[INFO] [stdout] 322 | / fn deref_mut(&mut self) -> &mut Self::Target {
[INFO] [stdout] 323 | | self.0.deref_mut()
[INFO] [stdout] 324 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:354:1
[INFO] [stdout] |
[INFO] [stdout] 354 | / impl Debug for PoolBox
[INFO] [stdout] 355 | | where
[INFO] [stdout] 356 | | A: Debug,
[INFO] [stdout] 357 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 360 | | }
[INFO] [stdout] 361 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:358:5
[INFO] [stdout] |
[INFO] [stdout] 358 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 359 | | (**self).fmt(f)
[INFO] [stdout] 360 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/pool.rs:190:1
[INFO] [stdout] |
[INFO] [stdout] 190 | / impl Debug for Pool {
[INFO] [stdout] 191 | | /// Debug implementation for `Pool`.
[INFO] [stdout] 192 | | ///
[INFO] [stdout] 193 | | /// # Examples
[INFO] [stdout] ... |
[INFO] [stdout] 210 | | }
[INFO] [stdout] 211 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:478:1
[INFO] [stdout] |
[INFO] [stdout] 478 | / impl Debug for PoolRef
[INFO] [stdout] 479 | | where
[INFO] [stdout] 480 | | A: Debug,
[INFO] [stdout] 481 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 484 | | }
[INFO] [stdout] 485 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:482:5
[INFO] [stdout] |
[INFO] [stdout] 482 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 483 | | (**self).fmt(f)
[INFO] [stdout] 484 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:69:1
[INFO] [stdout] |
[INFO] [stdout] 69 | / impl Debug for Pool {
[INFO] [stdout] 70 | | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
[INFO] [stdout] 71 | | write!(f, "FakePool")
[INFO] [stdout] 72 | | }
[INFO] [stdout] 73 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:70:5
[INFO] [stdout] |
[INFO] [stdout] 70 | / fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
[INFO] [stdout] 71 | | write!(f, "FakePool")
[INFO] [stdout] 72 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:244:1
[INFO] [stdout] |
[INFO] [stdout] 244 | / impl Debug for PoolRef
[INFO] [stdout] 245 | | where
[INFO] [stdout] 246 | | A: Debug,
[INFO] [stdout] 247 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 250 | | }
[INFO] [stdout] 251 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:248:5
[INFO] [stdout] |
[INFO] [stdout] 248 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 249 | | (**self).fmt(f)
[INFO] [stdout] 250 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:398:1
[INFO] [stdout] |
[INFO] [stdout] 398 | / impl Debug for PoolBox
[INFO] [stdout] 399 | | where
[INFO] [stdout] 400 | | A: Debug,
[INFO] [stdout] 401 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 404 | | }
[INFO] [stdout] 405 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:402:5
[INFO] [stdout] |
[INFO] [stdout] 402 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 403 | | (**self).fmt(f)
[INFO] [stdout] 404 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:345:1
[INFO] [stdout] |
[INFO] [stdout] 345 | / impl Display for PoolBox
[INFO] [stdout] 346 | | where
[INFO] [stdout] 347 | | A: Display,
[INFO] [stdout] 348 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 351 | | }
[INFO] [stdout] 352 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:349:5
[INFO] [stdout] |
[INFO] [stdout] 349 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 350 | | (**self).fmt(f)
[INFO] [stdout] 351 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:469:1
[INFO] [stdout] |
[INFO] [stdout] 469 | / impl Display for PoolRef
[INFO] [stdout] 470 | | where
[INFO] [stdout] 471 | | A: Display,
[INFO] [stdout] 472 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 475 | | }
[INFO] [stdout] 476 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:473:5
[INFO] [stdout] |
[INFO] [stdout] 473 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 474 | | (**self).fmt(f)
[INFO] [stdout] 475 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:235:1
[INFO] [stdout] |
[INFO] [stdout] 235 | / impl Display for PoolRef
[INFO] [stdout] 236 | | where
[INFO] [stdout] 237 | | A: Display,
[INFO] [stdout] 238 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 241 | | }
[INFO] [stdout] 242 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:239:5
[INFO] [stdout] |
[INFO] [stdout] 239 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 240 | | (**self).fmt(f)
[INFO] [stdout] 241 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:389:1
[INFO] [stdout] |
[INFO] [stdout] 389 | / impl Display for PoolBox
[INFO] [stdout] 390 | | where
[INFO] [stdout] 391 | | A: Display,
[INFO] [stdout] 392 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 395 | | }
[INFO] [stdout] 396 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:393:5
[INFO] [stdout] |
[INFO] [stdout] 393 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 394 | | (**self).fmt(f)
[INFO] [stdout] 395 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:336:1
[INFO] [stdout] |
[INFO] [stdout] 336 | / impl Hash for PoolBox
[INFO] [stdout] 337 | | where
[INFO] [stdout] 338 | | A: Hash,
[INFO] [stdout] 339 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 342 | | }
[INFO] [stdout] 343 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:340:5
[INFO] [stdout] |
[INFO] [stdout] 340 | / fn hash(&self, hasher: &mut H) {
[INFO] [stdout] 341 | | (**self).hash(hasher)
[INFO] [stdout] 342 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:460:1
[INFO] [stdout] |
[INFO] [stdout] 460 | / impl Hash for PoolRef
[INFO] [stdout] 461 | | where
[INFO] [stdout] 462 | | A: Hash,
[INFO] [stdout] 463 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 466 | | }
[INFO] [stdout] 467 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:464:5
[INFO] [stdout] |
[INFO] [stdout] 464 | / fn hash(&self, hasher: &mut H) {
[INFO] [stdout] 465 | | (**self).hash(hasher)
[INFO] [stdout] 466 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:226:1
[INFO] [stdout] |
[INFO] [stdout] 226 | / impl Hash for PoolRef
[INFO] [stdout] 227 | | where
[INFO] [stdout] 228 | | A: Hash,
[INFO] [stdout] 229 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 232 | | }
[INFO] [stdout] 233 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:230:5
[INFO] [stdout] |
[INFO] [stdout] 230 | / fn hash(&self, hasher: &mut H) {
[INFO] [stdout] 231 | | (**self).hash(hasher)
[INFO] [stdout] 232 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:380:1
[INFO] [stdout] |
[INFO] [stdout] 380 | / impl Hash for PoolBox
[INFO] [stdout] 381 | | where
[INFO] [stdout] 382 | | A: Hash,
[INFO] [stdout] 383 | | {
[INFO] [stdout] ... |
[INFO] [stdout] 386 | | }
[INFO] [stdout] 387 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:384:5
[INFO] [stdout] |
[INFO] [stdout] 384 | / fn hash(&self, hasher: &mut H) {
[INFO] [stdout] 385 | | (**self).hash(hasher)
[INFO] [stdout] 386 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:363:1
[INFO] [stdout] |
[INFO] [stdout] 363 | / impl std::fmt::Pointer for PoolBox {
[INFO] [stdout] 364 | | fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 365 | | std::fmt::Pointer::fmt(&(&**self as *const A), f)
[INFO] [stdout] 366 | | }
[INFO] [stdout] 367 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:364:5
[INFO] [stdout] |
[INFO] [stdout] 364 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 365 | | std::fmt::Pointer::fmt(&(&**self as *const A), f)
[INFO] [stdout] 366 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:487:1
[INFO] [stdout] |
[INFO] [stdout] 487 | / impl std::fmt::Pointer for PoolRef {
[INFO] [stdout] 488 | | fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 489 | | std::fmt::Pointer::fmt(&(&**self as *const A), f)
[INFO] [stdout] 490 | | }
[INFO] [stdout] 491 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:488:5
[INFO] [stdout] |
[INFO] [stdout] 488 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 489 | | std::fmt::Pointer::fmt(&(&**self as *const A), f)
[INFO] [stdout] 490 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:253:1
[INFO] [stdout] |
[INFO] [stdout] 253 | / impl std::fmt::Pointer for PoolRef {
[INFO] [stdout] 254 | | fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 255 | | std::fmt::Pointer::fmt(&(&**self as *const A), f)
[INFO] [stdout] 256 | | }
[INFO] [stdout] 257 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:254:5
[INFO] [stdout] |
[INFO] [stdout] 254 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 255 | | std::fmt::Pointer::fmt(&(&**self as *const A), f)
[INFO] [stdout] 256 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:407:1
[INFO] [stdout] |
[INFO] [stdout] 407 | / impl std::fmt::Pointer for PoolBox {
[INFO] [stdout] 408 | | fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 409 | | std::fmt::Pointer::fmt(&(&**self as *const A), f)
[INFO] [stdout] 410 | | }
[INFO] [stdout] 411 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:408:5
[INFO] [stdout] |
[INFO] [stdout] 408 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
[INFO] [stdout] 409 | | std::fmt::Pointer::fmt(&(&**self as *const A), f)
[INFO] [stdout] 410 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:295:1
[INFO] [stdout] |
[INFO] [stdout] 295 | / impl Borrow for PoolBox {
[INFO] [stdout] 296 | | fn borrow(&self) -> &A {
[INFO] [stdout] 297 | | self.deref()
[INFO] [stdout] 298 | | }
[INFO] [stdout] 299 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:296:5
[INFO] [stdout] |
[INFO] [stdout] 296 | / fn borrow(&self) -> &A {
[INFO] [stdout] 297 | | self.deref()
[INFO] [stdout] 298 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:425:1
[INFO] [stdout] |
[INFO] [stdout] 425 | / impl Borrow for PoolRef {
[INFO] [stdout] 426 | | fn borrow(&self) -> &A {
[INFO] [stdout] 427 | | self.deref()
[INFO] [stdout] 428 | | }
[INFO] [stdout] 429 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/ref_handle.rs:426:5
[INFO] [stdout] |
[INFO] [stdout] 426 | / fn borrow(&self) -> &A {
[INFO] [stdout] 427 | | self.deref()
[INFO] [stdout] 428 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:190:1
[INFO] [stdout] |
[INFO] [stdout] 190 | / impl Borrow for PoolRef {
[INFO] [stdout] 191 | | fn borrow(&self) -> &A {
[INFO] [stdout] 192 | | self.deref()
[INFO] [stdout] 193 | | }
[INFO] [stdout] 194 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:191:5
[INFO] [stdout] |
[INFO] [stdout] 191 | / fn borrow(&self) -> &A {
[INFO] [stdout] 192 | | self.deref()
[INFO] [stdout] 193 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:339:1
[INFO] [stdout] |
[INFO] [stdout] 339 | / impl Borrow for PoolBox {
[INFO] [stdout] 340 | | fn borrow(&self) -> &A {
[INFO] [stdout] 341 | | self.deref()
[INFO] [stdout] 342 | | }
[INFO] [stdout] 343 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:340:5
[INFO] [stdout] |
[INFO] [stdout] 340 | / fn borrow(&self) -> &A {
[INFO] [stdout] 341 | | self.deref()
[INFO] [stdout] 342 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:301:1
[INFO] [stdout] |
[INFO] [stdout] 301 | / impl BorrowMut for PoolBox {
[INFO] [stdout] 302 | | fn borrow_mut(&mut self) -> &mut A {
[INFO] [stdout] 303 | | self.deref_mut()
[INFO] [stdout] 304 | | }
[INFO] [stdout] 305 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/box_handle.rs:302:5
[INFO] [stdout] |
[INFO] [stdout] 302 | / fn borrow_mut(&mut self) -> &mut A {
[INFO] [stdout] 303 | | self.deref_mut()
[INFO] [stdout] 304 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:345:1
[INFO] [stdout] |
[INFO] [stdout] 345 | / impl BorrowMut for PoolBox {
[INFO] [stdout] 346 | | fn borrow_mut(&mut self) -> &mut A {
[INFO] [stdout] 347 | | self.deref_mut()
[INFO] [stdout] 348 | | }
[INFO] [stdout] 349 | | }
[INFO] [stdout] | |_^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: missing code example in this documentation
[INFO] [stdout] --> src/fakepool.rs:346:5
[INFO] [stdout] |
[INFO] [stdout] 346 | / fn borrow_mut(&mut self) -> &mut A {
[INFO] [stdout] 347 | | self.deref_mut()
[INFO] [stdout] 348 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 295 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.83s
[INFO] running `Command { std: "docker" "inspect" "0e07234b1b0161424ae6cb68decc2bd9b1ff5d6b0befde6d01bda24019180d0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e07234b1b0161424ae6cb68decc2bd9b1ff5d6b0befde6d01bda24019180d0f", kill_on_drop: false }`
[INFO] [stdout] 0e07234b1b0161424ae6cb68decc2bd9b1ff5d6b0befde6d01bda24019180d0f