diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-09-07 08:06:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-07 08:06:13 +0200 |
| commit | e6a76891ef86d390ee23bd8f2f08c930f0a15d63 (patch) | |
| tree | c5a6e384257a45f6c866bfb26ef18d0cea73492b /src/libsyntax/util/parser.rs | |
| parent | d5caeac0964c0ce23e38e1bf75706fedbf1cd32c (diff) | |
| parent | 055d3798d40ca0eefa52fa152bf3c913240281af (diff) | |
| download | rust-e6a76891ef86d390ee23bd8f2f08c930f0a15d63.tar.gz rust-e6a76891ef86d390ee23bd8f2f08c930f0a15d63.zip | |
Rollup merge of #64236 - matklad:reduce-visibility, r=Centril
reduce visibility
Diffstat (limited to 'src/libsyntax/util/parser.rs')
| -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)), |
