Skip to content

Commit

Permalink
Add a doc comment on AugAssign
Browse files Browse the repository at this point in the history
Summary:
We aim try to give doc comments on all the Bindings variants, I noticed
this was missing one.

Reviewed By: ndmitchell

Differential Revision: D66561089

fbshipit-source-id: 8891c2a3310eb11f6a82cec492f2efb97936dfe6
  • Loading branch information
stroxler authored and facebook-github-bot committed Nov 28, 2024
1 parent 1fab964 commit 9a28f5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyre2/pyre2/bin/alt/binding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ pub enum Binding {
/// If the annotation has a type inside it (e.g. `int` then use the annotation).
/// If the annotation doesn't (e.g. it's `Final`), then use the binding.
AnnotatedType(Idx<KeyAnnotation>, Box<Binding>),
/// A record of an "augmented assignment" statement like `x -= _`
/// or `a.b *= _`. These desugar to special method calls.
AugAssign(StmtAugAssign),
/// The Any type.
AnyType(AnyStyle),
Expand Down

0 comments on commit 9a28f5a

Please sign in to comment.