mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 11:21:05 +01:00
Add operator modulo (#1681)
Co-authored-by: m new <michael.burzan@outlook.de> Co-authored-by: Richard Smith <richard@metafoo.co.uk>
This commit is contained in:
co-authored by
m new
Richard Smith
parent
8ba4916ab4
commit
9f89c63503
@@ -81,6 +81,8 @@ auto ToString(Operator op) -> std::string_view {
|
||||
return "or";
|
||||
case Operator::Eq:
|
||||
return "==";
|
||||
case Operator::Mod:
|
||||
return "%";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user