We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4fe96a commit 612b5b2Copy full SHA for 612b5b2
src/layer.rs
@@ -1999,10 +1999,7 @@ mod tests {
1999
});
2000
2001
let attributes = tracer.attributes();
2002
- let keys = attributes
2003
- .iter()
2004
- .map(|(k, _)| k.as_str())
2005
- .collect::<Vec<&str>>();
+ let keys = attributes.keys().map(|k| k.as_str()).collect::<Vec<&str>>();
2006
assert!(keys.contains(&"target"));
2007
}
2008
@@ -2017,10 +2014,7 @@ mod tests {
2017
2014
2018
2015
2019
2016
2020
2021
2022
2023
2024
assert!(!keys.contains(&"target"));
2025
2026
0 commit comments