Skip to content

Commit b21e15b

Browse files
Merge branch 'feature/resource-get-ref' of https://github.com/leghadjeu-christian/opentelemetry-rust into feature/resource-get-ref
2 parents bbf9ce7 + 48761ec commit b21e15b

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-sdk/src/resource

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/resource/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ impl Resource {
229229
self.inner.attrs.get(key).cloned()
230230
}
231231

232-
/// Returns a reference to the value for the given key without cloning.
232+
/// Returns a reference to the value for the resource associated with the given key without cloning.
233233
pub fn get_ref(&self, key: &Key) -> Option<&Value> {
234234
self.inner.attrs.get(key)
235235
}

0 commit comments

Comments
 (0)