linked_macros 0.2.1

Internal dependency of the 'linked' crate - do not reference directly
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) Microsoft Corporation.
// Copyright (c) Folo authors.

#![allow(
    missing_docs,
    reason = "Private API, public API is documented in `linked` crate"
)]

use proc_macro::TokenStream;

#[proc_macro_attribute]
pub fn __macro_linked_object(attr: TokenStream, item: TokenStream) -> TokenStream {
    linked_macros_impl::linked_object::entrypoint(&attr.into(), &item.into()).into()
}