1
- #![ crate_name = "mml " ]
1
+ #![ crate_name = "rust2uml " ]
2
2
#![ crate_type = "lib" ]
3
3
#![ feature( rustc_private) ]
4
4
#![ feature( box_patterns) ]
5
- #![ doc( html_root_url = "https://docs.rs/mml/0.1.41" ) ]
6
5
#![ cfg_attr( feature = "nightly" , feature( plugin) ) ]
7
6
#![ cfg_attr( feature = "lints" , plugin( clippy) ) ]
8
7
#![ cfg_attr( feature = "lints" , deny( warnings) ) ]
@@ -167,10 +166,10 @@ fn items2chars<'a>(modules: Vec<Module>) -> io::Result<Vec<u8>> {
167
166
///
168
167
/// # Examples
169
168
/// ```
170
- /// extern crate mml ;
169
+ /// extern crate rust2uml ;
171
170
///
172
171
/// fn main() {
173
- /// let _ = mml ::rs2dot("src/lib.rs");
172
+ /// let _ = rust2uml ::rs2dot("src/lib.rs");
174
173
/// }
175
174
/// ```
176
175
pub fn rs2dot < ' a , P : AsRef < Path > > ( path : P ) -> io:: Result < Vec < u8 > > {
@@ -188,10 +187,10 @@ pub fn rs2dot<'a, P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
188
187
///
189
188
/// # Examples
190
189
/// ```
191
- /// extern crate mml ;
190
+ /// extern crate rust2uml ;
192
191
///
193
192
/// fn main() {
194
- /// let _ = mml ::src2dot("src");
193
+ /// let _ = rust2uml ::src2dot("src");
195
194
/// }
196
195
/// ```
197
196
pub fn src2dot < ' a , P : AsRef < Path > > ( path : P ) -> io:: Result < Vec < u8 > > {
@@ -237,10 +236,10 @@ fn content2svg(buf: Vec<u8>) -> io::Result<Vec<u8>> {
237
236
///
238
237
/// # Examples
239
238
/// ```
240
- /// extern crate mml ;
239
+ /// extern crate rust2uml ;
241
240
///
242
241
/// fn main() {
243
- /// let _ = mml ::rs2svg("src/lib.rs");
242
+ /// let _ = rust2uml ::rs2svg("src/lib.rs");
244
243
/// }
245
244
/// ```
246
245
pub fn rs2svg < P : AsRef < Path > > ( path : P ) -> io:: Result < Vec < u8 > > {
@@ -253,10 +252,10 @@ pub fn rs2svg<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
253
252
///
254
253
/// # Examples
255
254
/// ```
256
- /// extern crate mml ;
255
+ /// extern crate rust2uml ;
257
256
///
258
257
/// fn main() {
259
- /// let _ = mml ::src2svg("src");
258
+ /// let _ = rust2uml ::src2svg("src");
260
259
/// }
261
260
/// ```
262
261
pub fn src2svg < P : AsRef < Path > > ( path : P ) -> io:: Result < Vec < u8 > > {
@@ -269,12 +268,12 @@ pub fn src2svg<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
269
268
///
270
269
/// # Examples
271
270
/// ```
272
- /// extern crate mml ;
271
+ /// extern crate rust2uml ;
273
272
///
274
273
/// fn main() {
275
274
/// let dest: String = concat!("target/doc/", env!("CARGO_PKG_NAME")).to_string();
276
275
///
277
- /// let _ = mml ::src2both("src", dest.replace("-", "_").as_str());
276
+ /// let _ = rust2uml ::src2both("src", dest.replace("-", "_").as_str());
278
277
/// }
279
278
/// ```
280
279
pub fn src2both < P : AsRef < Path > > ( src : P , dest : P ) -> io:: Result < ( ) > {
0 commit comments