From 9c4ae9295dbcf16a1cabf351149df0d1c0d100ea Mon Sep 17 00:00:00 2001 From: mcarton Date: Mon, 11 Apr 2016 23:23:49 +0200 Subject: [PATCH] Markdownify more doc --- src/methods.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/methods.rs b/src/methods.rs index 3fcd472faf51..45f87fba9dda 100644 --- a/src/methods.rs +++ b/src/methods.rs @@ -805,7 +805,7 @@ fn get_error_type<'a>(cx: &LateContext, ty: ty::Ty<'a>) -> Option> { None } -/// This checks whether a given type is known to implement Debug. +/// This checks whether a given type is known to implement `Debug`. fn has_debug_impl<'a, 'b>(ty: ty::Ty<'a>, cx: &LateContext<'b, 'a>) -> bool { match cx.tcx.lang_items.debug_trait() { Some(debug) => implements_trait(cx, ty, debug, Vec::new()),