Skip to content

Commit 66b9c35

Browse files
committed
auto merge of #12053 : fhahn/rust/remove-str-in-comment, r=alexcrichton
This tiny pull request updates a comment referring to `@str` which was replaced by `(InternedString,StrStyle)` . related to #10516
2 parents f039d10 + 5d6bed8 commit 66b9c35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/ast.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1064,8 +1064,8 @@ pub struct ViewItem {
10641064
#[deriving(Clone, Eq, Encodable, Decodable, IterBytes)]
10651065
pub enum ViewItem_ {
10661066
// ident: name used to refer to this crate in the code
1067-
// optional @str: if present, this is a location (containing
1068-
// arbitrary characters) from which to fetch the crate sources
1067+
// optional (InternedString,StrStyle): if present, this is a location
1068+
// (containing arbitrary characters) from which to fetch the crate sources
10691069
// For example, extern mod whatever = "github.com/mozilla/rust"
10701070
ViewItemExternMod(Ident, Option<(InternedString,StrStyle)>, NodeId),
10711071
ViewItemUse(~[@ViewPath]),

0 commit comments

Comments
 (0)