From e7247ba54e077ed8bea01fc88dd8051ac3f6ea40 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 10 Nov 2017 01:39:38 +0100 Subject: [PATCH] fix doc warnings --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 312fc409a..feea3d326 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -723,6 +723,7 @@ impl<'a> RecordBuilder<'a> { /// - `module_path`: `""` /// - `file`: `""` /// - `line`: `0` + /// /// [`format_args!("")`]: https://doc.rust-lang.org/std/macro.format_args.html /// [`Metadata::builder().build()`]: struct.MetadataBuilder.html#method.build #[inline] @@ -1090,6 +1091,7 @@ where } /// The type returned by [`set_logger`] if [`set_logger`] has already been called. +/// /// [`set_logger`]: fn.set_logger.html #[allow(missing_copy_implementations)] #[derive(Debug)] @@ -1110,6 +1112,7 @@ impl error::Error for SetLoggerError { } /// The type returned by [`from_str`] when the string doesn't match any of the log levels. +/// /// [`from_str`]: https://doc.rust-lang.org/std/str/trait.FromStr.html#tymethod.from_str #[allow(missing_copy_implementations)] #[derive(Debug, PartialEq)]