Skip to content

Commit 73330f5

Browse files
stepanchegfacebook-github-bot
authored andcommitted
Missing variants in ProfileMode::from_str
Reviewed By: bobyangyf Differential Revision: D38522794 fbshipit-source-id: 877d6fa32fab6f431a17f6ddb82c6770a203715e
1 parent 5bbc2ec commit 73330f5

File tree

1 file changed

+2
-0
lines changed
  • starlark/src/eval/runtime/profile

1 file changed

+2
-0
lines changed

starlark/src/eval/runtime/profile/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ impl FromStr for ProfileMode {
8484
fn from_str(s: &str) -> Result<Self, Self::Err> {
8585
for mode in [
8686
ProfileMode::HeapSummary,
87+
ProfileMode::HeapSummaryRetained,
8788
ProfileMode::HeapFlame,
89+
ProfileMode::HeapFlameRetained,
8890
ProfileMode::Statement,
8991
ProfileMode::Bytecode,
9092
ProfileMode::BytecodePairs,

0 commit comments

Comments
 (0)