style: Remove a few comments on statements.

These warn with `unused_doc_comments` on nightly.
This commit is contained in:
Emilio Cobos Álvarez 2017-08-15 11:23:18 +02:00
parent 74558990b2
commit 0eeb734921
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 2 additions and 2 deletions

View file

@ -208,7 +208,7 @@ impl ComputeSquaredDistance for Color {
impl ToAnimatedZero for Color { impl ToAnimatedZero for Color {
#[inline] #[inline]
fn to_animated_zero(&self) -> Result<Self, ()> { fn to_animated_zero(&self) -> Result<Self, ()> {
/// FIXME(nox): This does not look correct to me. // FIXME(nox): This does not look correct to me.
Err(()) Err(())
} }
} }

View file

@ -39,7 +39,7 @@ impl BorderImageSideWidth {
impl ToAnimatedZero for BorderCornerRadius { impl ToAnimatedZero for BorderCornerRadius {
#[inline] #[inline]
fn to_animated_zero(&self) -> Result<Self, ()> { fn to_animated_zero(&self) -> Result<Self, ()> {
/// FIXME(nox): Why? // FIXME(nox): Why?
Err(()) Err(())
} }
} }