mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
auto merge of #2373 : zwarich/servo/remove-default-visibility, r=Ms2ger
The defaultVisibility field was cloned from the C++ implementation, where it tracks the difference between struct and class visibility. Since no similar concept exists in Rust, it should be removed.
This commit is contained in:
commit
6d381959db
1 changed files with 0 additions and 1 deletions
|
@ -3250,7 +3250,6 @@ class CGClass(CGThing):
|
|||
self.isStruct = isStruct
|
||||
self.disallowCopyConstruction = disallowCopyConstruction
|
||||
self.indent = indent
|
||||
self.defaultVisibility ='pub' if isStruct else 'priv'
|
||||
self.decorators = decorators
|
||||
self.extradeclarations = extradeclarations
|
||||
self.extradefinitions = extradefinitions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue