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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
248 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.trait.implementations[*]" $impl
/// local for bool
impl Local for bool {}