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:
Tom Granot-Scalosub 2019-12-08 21:47:05 +02:00 committed by Eliza Weisman
parent f992361eec
commit 3b39229349

View File

@ -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
}