mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-10-02 23:34:40 +00:00
core: fix link to Metadata
in Event
(#461)
## Motivation Current link in [here][1], which should point to the correct [`metadata`][2]() struct definition, instead points to [here][3]. [1]: https://docs.rs/tracing/0.1.10/tracing/event/struct.Event.html#method.metadata [2]: https://docs.rs/tracing/0.1.10/tracing/struct.Metadata.html [3]: https://docs.rs/tracing/0.1.10/tracing/metadata/struct.Metadata.html ## Solution Fix link. :)
This commit is contained in:
parent
f992361eec
commit
3b39229349
@ -96,7 +96,7 @@ impl<'a> Event<'a> {
|
||||
|
||||
/// Returns [metadata] describing this `Event`.
|
||||
///
|
||||
/// [metadata]: ../metadata/struct.Metadata.html
|
||||
/// [metadata]: ../struct.Metadata.html
|
||||
pub fn metadata(&self) -> &'static Metadata<'static> {
|
||||
self.metadata
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user