Skip to content

Commit

Permalink
fix up path in doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Apr 10, 2023
1 parent 955d352 commit 18a8584
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/kv/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ macro_rules! as_serde {
};
}

/// Get a value from a type implementing `self::sval::value::Value`.
/// Get a value from a type implementing `sval::value::Value`.
#[cfg(feature = "kv_unstable_sval")]
#[macro_export]
macro_rules! as_sval {
Expand Down Expand Up @@ -206,7 +206,7 @@ impl<'v> Value<'v> {
}
}

/// Get a value from a type implementing `self::sval::value::Value`.
/// Get a value from a type implementing `sval::value::Value`.
#[cfg(feature = "kv_unstable_sval")]
pub fn capture_sval<T>(value: &'v T) -> Self
where
Expand Down Expand Up @@ -644,7 +644,7 @@ pub trait Visit<'v> {
/// This is the only required method on `Visit` and acts as a fallback for any
/// more specific methods that aren't overridden.
/// The `Value` may be formatted using its `fmt::Debug` or `fmt::Display` implementation,
/// or serialized using its `self::sval::Value` or `serde::Serialize` implementation.
/// or serialized using its `sval::Value` or `serde::Serialize` implementation.
fn visit_any(&mut self, value: Value) -> Result<(), Error>;

/// Visit an unsigned integer.
Expand Down

0 comments on commit 18a8584

Please sign in to comment.