Correctly locate the crate's version from the link attribute
This commit is contained in:
parent
29afe1a518
commit
d4b5b48e0a
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ fn build_link_meta(&session::session sess, &ast::crate c,
|
|||
// FIXME: Should probably warn about duplicate name items
|
||||
name = some(v);
|
||||
}
|
||||
case (ast::meta_name_value("value", ?v)) {
|
||||
case (ast::meta_name_value("vers", ?v)) {
|
||||
// FIXME: Should probably warn about duplicate value items
|
||||
vers = some(v);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue