fix(tests): Fix new syntax error in debug.rc

fixes #1180
This commit is contained in:
nex 2025-11-18 18:46:35 +00:00
parent 38080275d4
commit 6794ea565f

View file

@ -28,7 +28,7 @@ impl<T: fmt::Debug> fmt::Debug for TruncatedSlice<'_, T> {
/// use conduwuit_core::utils::debug::slice_truncated;
///
/// #[tracing::instrument(fields(foos = slice_truncated(foos, 42)))]
/// fn bar(foos: &[&str]);
/// fn bar(foos: &[&str]) {};
/// ```
pub fn slice_truncated<T: fmt::Debug>(
slice: &[T],