diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-08-31 16:03:54 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-09-06 22:04:36 +0300 |
| commit | 055d3798d40ca0eefa52fa152bf3c913240281af (patch) | |
| tree | a920e9be7d6f764e762b33acf98ee37094146474 /src/libsyntax/util | |
| parent | 4894123d21ed4b153a2e5c32c0870cb2d97f9b46 (diff) | |
| download | rust-055d3798d40ca0eefa52fa152bf3c913240281af.tar.gz rust-055d3798d40ca0eefa52fa152bf3c913240281af.zip | |
reduce visibility
Diffstat (limited to 'src/libsyntax/util')
| -rw-r--r-- | src/libsyntax/util/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/parser.rs b/src/libsyntax/util/parser.rs index a501541c959..fceaed360cd 100644 --- a/src/libsyntax/util/parser.rs +++ b/src/libsyntax/util/parser.rs @@ -69,7 +69,7 @@ pub enum Fixity { impl AssocOp { /// Creates a new AssocOP from a token - pub fn from_token(t: &Token) -> Option<AssocOp> { + crate fn from_token(t: &Token) -> Option<AssocOp> { use AssocOp::*; match t.kind { token::BinOpEq(k) => Some(AssignOp(k)), |
