Skip to content

Commit

Permalink
Auto merge of #8 - servo:readme, r=emilio
Browse files Browse the repository at this point in the history
Correct the README on the rustbindgen attribute.
  • Loading branch information
bors-servo authored Jul 1, 2016
2 parents 6f73db9 + cffef57 commit 2396141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ Annotations
-----------
The translation of classes, structs, enums, and typedefs can be adjusted using annotations. Annotations are specifically formatted html tags inside doxygen style comments. The opaque annotation instructs bindgen to ignore all fields defined in a struct/class.

/// <div rust-bindgen opaque></div>
/// <div rustbindgen opaque></div>

The hide annotation instructs bindgen to ignore the struct/class/field/enum completely.

/// <div rust-bindgen hide></div>
/// <div rustbindgen hide></div>

Macro Usage
-----------
Expand Down

0 comments on commit 2396141

Please sign in to comment.