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 85a14fd commit 7f0b853Copy full SHA for 7f0b853
rust-runtime/aws-smithy-observability/src/meter.rs
@@ -20,7 +20,9 @@ pub trait ProvideMeter: Send + Sync + Debug {
20
21
/// Returns a reference to `self` as `&dyn Any` for downcasting.
22
/// This allows type-based identification of meter providers.
23
- fn as_any(&self) -> &dyn std::any::Any;
+ fn as_any(&self) -> &dyn std::any::Any {
24
+ self
25
+ }
26
27
/// Returns the name of this provider implementation.
28
/// This is used for feature tracking without requiring type imports.
0 commit comments