浏览代码

Fix warning about renamed missing doc attribute.

Joseph Crail 10 年之前
父节点
当前提交
11901f7724
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/rational.rs

+ 1 - 1
src/rational.rs

@@ -22,7 +22,7 @@ use bigint::{BigInt, BigUint, Sign, Plus, Minus};
 
 /// Represents the ratio between 2 numbers.
 #[deriving(Clone, Hash)]
-#[allow(missing_doc)]
+#[allow(missing_docs)]
 pub struct Ratio<T> {
     numer: T,
     denom: T