From f73c951c584ceae9f6836cd6035651a74f56eeed Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sun, 18 Oct 2015 07:55:48 -0600 Subject: [PATCH] servo: Merge #8059 - Fix formatting for variable in doc-comment within codegen (from frewsxcv:fix-codegen-docs); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: b847e4dd778e49ba60c786da4aa77813dee8b553 --- servo/components/script/dom/bindings/codegen/CodegenRust.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servo/components/script/dom/bindings/codegen/CodegenRust.py b/servo/components/script/dom/bindings/codegen/CodegenRust.py index 1d054d03f14d..c71e0f354dc7 100644 --- a/servo/components/script/dom/bindings/codegen/CodegenRust.py +++ b/servo/components/script/dom/bindings/codegen/CodegenRust.py @@ -5907,8 +5907,8 @@ pub trait %(derivedTrait)s: Sized { impl %(name)sCast { #[inline] - /// Downcast an instance of a base class of `${name}` to an instance of - /// `${name}`, if it internally is an instance of `${name}` + /// Downcast an instance of a base class of `%(name)s` to an instance of + /// `%(name)s`, if it internally is an instance of `%(name)s` pub fn to_ref(base: &T) -> Option<&%(name)s> { match base.%(methodName)s() { true => Some(unsafe { mem::transmute(base) }),