From 49e466f1e1b908e4e97d772d2676e91fe3486113 Mon Sep 17 00:00:00 2001 From: Chris Peterson Date: Sun, 20 Jan 2013 22:39:09 -0800 Subject: [PATCH] doc: Fix manual's link attributes example code --- doc/rust.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/rust.md b/doc/rust.md index b5f045bc13a55..ab9981bcabe4d 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -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" ];