@@ -25,7 +25,7 @@ impl<T: fmt::Debug> fmt::Debug for TruncatedSlice<'_, T> {
|
||||
/// See [`TruncatedSlice`]. Useful for `#[instrument]`:
|
||||
///
|
||||
/// ```
|
||||
/// use conduwuit_core::utils::debug::slice_truncated;
|
||||
/// use tuwunel_core::utils::debug::slice_truncated;
|
||||
///
|
||||
/// #[tracing::instrument(fields(foos = slice_truncated(foos, 42)))]
|
||||
/// fn bar(foos: &[&str]);
|
||||
|
||||
@@ -20,8 +20,8 @@ pub mod sys;
|
||||
mod tests;
|
||||
pub mod time;
|
||||
|
||||
pub use ::conduwuit_macros::implement;
|
||||
pub use ::ctor::{ctor, dtor};
|
||||
pub use ::tuwunel_macros::implement;
|
||||
|
||||
pub use self::{
|
||||
arrayvec::ArrayVecExt,
|
||||
|
||||
@@ -87,7 +87,7 @@ where
|
||||
|
||||
/// Find the common prefix from a collection of strings and return a slice
|
||||
/// ```
|
||||
/// use conduwuit_core::utils::string::common_prefix;
|
||||
/// use tuwunel_core::utils::string::common_prefix;
|
||||
/// let input = ["conduwuit", "conduit", "construct"];
|
||||
/// common_prefix(&input) == "con";
|
||||
/// ```
|
||||
|
||||
Reference in New Issue
Block a user