diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-10-17 14:17:07 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-10-17 15:20:12 -0400 |
commit | 26abff96637b82091500ab7ce38acfb13ecba8e3 (patch) | |
tree | 18f42bbb8e64520c0665211b886e57e115a7a299 /components/script/dom/bindings/codegen/CodegenRust.py | |
parent | ef8119511c440e50220417289a8adf5c7c1a93c3 (diff) | |
download | servo-26abff96637b82091500ab7ce38acfb13ecba8e3.tar.gz servo-26abff96637b82091500ab7ce38acfb13ecba8e3.zip |
Fix formatting for variable in doc-comment within codegen
Diffstat (limited to 'components/script/dom/bindings/codegen/CodegenRust.py')
-rw-r--r-- | components/script/dom/bindings/codegen/CodegenRust.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bindings/codegen/CodegenRust.py b/components/script/dom/bindings/codegen/CodegenRust.py index 1d054d03f14..c71e0f354dc 100644 --- a/components/script/dom/bindings/codegen/CodegenRust.py +++ b/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<T: %(derivedTrait)s + Reflectable>(base: &T) -> Option<&%(name)s> { match base.%(methodName)s() { true => Some(unsafe { mem::transmute(base) }), |