diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-04-15 01:07:47 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-04-15 01:43:38 -0700 |
| commit | 4f576275be8473a17052300aabb811a767ad7b1b (patch) | |
| tree | bbd4e2cefeedfee9bcf4b78bc694b5a0df4ab2e2 /src/librustsyntax/parse | |
| parent | 4f4a468e84537b38648bc9591e0f5a385be593e0 (diff) | |
| download | rust-4f576275be8473a17052300aabb811a767ad7b1b.tar.gz rust-4f576275be8473a17052300aabb811a767ad7b1b.zip | |
syntax: Cleanup attr module. Closes #1545
Diffstat (limited to 'src/librustsyntax/parse')
| -rw-r--r-- | src/librustsyntax/parse/eval.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustsyntax/parse/eval.rs b/src/librustsyntax/parse/eval.rs index d01667d1029..75824152f5d 100644 --- a/src/librustsyntax/parse/eval.rs +++ b/src/librustsyntax/parse/eval.rs @@ -81,7 +81,7 @@ fn parse_companion_mod(cx: ctx, prefix: str, suffix: option<str>) } fn cdir_path_opt(id: str, attrs: [ast::attribute]) -> str { - alt attr::get_meta_item_value_str_by_name(attrs, "path") { + alt attr::first_attr_value_str_by_name(attrs, "path") { some(d) { ret d; } |
