浏览代码

Merge pull request #19 from jbcrail/fix-missing-doc-warning

Fix warning about renamed missing doc attribute.
Alex Crichton 10 年之前
父节点
当前提交
3ac6af6b2d
共有 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