1 #![deny(intra_doc_link_resolution_failure)]
2 #![feature(no_core, lang_items)]
4 #![crate_type = "rlib"]
6 // ignore-tidy-linelength
8 // @has intra_link_prim_methods_local/index.html
9 // @has - '//*[@id="main"]//a[@href="https://doc.rust-lang.org/nightly/std/primitive.char.html"]' 'char'
10 // @has - '//*[@id="main"]//a[@href="https://doc.rust-lang.org/nightly/std/primitive.char.html#method.len_utf8"]' 'char::len_utf8'
12 //! A [`char`] and its [`char::len_utf8`].
16 pub fn len_utf8(self) -> usize {
25 pub trait Clone: Sized {}
28 pub trait Copy: Clone {}