convert doc-attributes to doc-comments using ./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498

This commit is contained in:
Gareth Daniel Smith
2012-07-04 22:53:12 +01:00
committed by Brian Anderson
parent bfa43ca301
commit be0141666d
123 changed files with 4981 additions and 5044 deletions

View File

@@ -365,7 +365,7 @@ fn is_self(d: ast::def) -> bool {
}
}
#[doc = "Maps a binary operator to its precedence"]
/// Maps a binary operator to its precedence
fn operator_prec(op: ast::binop) -> uint {
alt op {
mul | div | rem { 12u }