aboutsummaryrefslogtreecommitdiffstats
path: root/python/mach_bootstrap.py
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-09-18 07:22:59 -0600
committerbors-servo <metajack+bors@gmail.com>2015-09-18 07:22:59 -0600
commit8a8204ffc8fa287dde2321c40d12b191b51960da (patch)
treef471d6cf869b72818540ff587276c7fd8b3c14bb /python/mach_bootstrap.py
parenteae3eaf97474febb2c50a7a4d392594cbc8d2da2 (diff)
parentcc44448b0922f184b22cdb2ecc29af37496c52b0 (diff)
downloadservo-8a8204ffc8fa287dde2321c40d12b191b51960da.tar.gz
servo-8a8204ffc8fa287dde2321c40d12b191b51960da.zip
Auto merge of #7447 - ddrmanxbxfr:master, r=jdm
Issue #7382 Use descriptive enums instead of booleans for MIMEClassifier::classifer Hi guys i've done a small pass of refactor in the MIMEClassifier implementation. (See issue #7382 ) - Moved the predicates to separate functions - Added a mimetype enum so we can compare them easily after calling MIMEClassifier::get_media_type I hope it follows rust good pratices (care it's my first time doing rust). Improvements and tips are welcome :). Thanks for looking at it. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7447) <!-- Reviewable:end -->
Diffstat (limited to 'python/mach_bootstrap.py')
0 files changed, 0 insertions, 0 deletions