Skip to content

Commit 79db51b

Browse files
stroxlerfacebook-github-bot
authored andcommitted
Add missing doc comment
Summary: It's self-explanatory what `style` is, but it's nice to note how it's used because otherwise you have to dig around to find out. Reviewed By: rchen152 Differential Revision: D82325998 fbshipit-source-id: fdc587a3628084efca612fc7d3511b703e475138
1 parent c7c94b1 commit 79db51b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyrefly/lib/binding/scope.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ pub struct StaticInfo {
7171
pub annot: Option<Idx<KeyAnnotation>>,
7272
/// How many times this will be redefined
7373
pub count: usize,
74+
/// How was this defined? Needed to determine the key for forward lookups.
7475
pub style: DefinitionStyle,
7576
/// Is this a mutable catpure of a definition in an outer scope (i.e. a global or a nonlocal)?
7677
pub is_mutable_capture: bool,

0 commit comments

Comments
 (0)