rust/tests/rustdoc-json/impls/local_for_primitive.rs

8 lines
242 B
Rust
Raw Normal View History

// @set local = "$.index[*][?(@.name=='Local')]"
pub trait Local {}
// @set impl = "$.index[*][?(@.docs=='local for bool')].id"
// @is "$.index[*][?(@.name=='Local')].inner.implementations[*]" $impl
/// local for bool
impl Local for bool {}