mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
14 lines
244 B
Rust
14 lines
244 B
Rust
#![feature(rustc_attrs)]
|
|
#![feature(rustdoc_internals)]
|
|
#![no_std]
|
|
|
|
pub mod str {
|
|
#![doc(primitive = "str")]
|
|
|
|
impl str {
|
|
// @hasraw search-index.js foo
|
|
#[rustc_allow_incoherent_impl]
|
|
pub fn foo(&self) {}
|
|
}
|
|
}
|