Skip to content

Commit

Permalink
doc: Fix manual's link attributes example code
Browse files Browse the repository at this point in the history
  • Loading branch information
cpeterso committed Jan 21, 2013
1 parent 885f0a2 commit 49e466f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/rust.md
Expand Up @@ -594,16 +594,16 @@ and may optionally begin with any number of `attributes` that apply to the conta
Atributes on the anonymous crate module define important metadata that influences
the behavior of the compiler.

~~~~~~~~{.xfail-test}
~~~~~~~~
// Linkage attributes
#[ link(name = "projx"
#[ link(name = "projx",
vers = "2.5",
uuid = "9cccc5d5-aceb-4af5-8285-811211826b82") ];
// Additional metadata attributes
#[ desc = "Project X",
license = "BSD" ];
author = "Jane Doe" ];
#[ desc = "Project X" ];
#[ license = "BSD" ];
#[ author = "Jane Doe" ];
// Specify the output type
#[ crate_type = "lib" ];
Expand Down

0 comments on commit 49e466f

Please sign in to comment.