mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
@@ -28,7 +28,7 @@ impl<T: fmt::Debug> fmt::Debug for TruncatedSlice<'_, T> {
|
|||||||
/// use conduwuit_core::utils::debug::slice_truncated;
|
/// use conduwuit_core::utils::debug::slice_truncated;
|
||||||
///
|
///
|
||||||
/// #[tracing::instrument(fields(foos = slice_truncated(foos, 42)))]
|
/// #[tracing::instrument(fields(foos = slice_truncated(foos, 42)))]
|
||||||
/// fn bar(foos: &[&str]);
|
/// fn bar(foos: &[&str]) {};
|
||||||
/// ```
|
/// ```
|
||||||
pub fn slice_truncated<T: fmt::Debug>(
|
pub fn slice_truncated<T: fmt::Debug>(
|
||||||
slice: &[T],
|
slice: &[T],
|
||||||
|
|||||||
Reference in New Issue
Block a user