Skip to content

Commit 566b470

Browse files
committed
auto merge of #16685 : alexcrichton/rust/remove-glob, r=brson
This library has been moved out to a cargo package in rust-lang.
2 parents e61ec99 + 118f481 commit 566b470

File tree

2 files changed

+4
-212
lines changed

2 files changed

+4
-212
lines changed

src/libglob/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@
2424
*/
2525

2626
#![crate_name = "glob"]
27-
#![experimental]
27+
#![deprecated = "This is now a cargo package located at: \
28+
https://github.com/rust-lang/glob"]
2829
#![crate_type = "rlib"]
2930
#![crate_type = "dylib"]
3031
#![license = "MIT/ASL2"]
3132
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
3233
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
3334
html_root_url = "http://doc.rust-lang.org/master/",
3435
html_playground_url = "http://play.rust-lang.org/")]
36+
#![allow(deprecated)]
3537

3638
use std::cell::Cell;
3739
use std::{cmp, os, path};
@@ -64,6 +66,7 @@ pub struct Paths {
6466
/// `puppies.jpg` and `hamsters.gif`:
6567
///
6668
/// ```rust
69+
/// # #![allow(deprecated)]
6770
/// use glob::glob;
6871
///
6972
/// for path in glob("/media/pictures/*.jpg") {

src/test/run-pass/glob-std.rs

Lines changed: 0 additions & 211 deletions
This file was deleted.

0 commit comments

Comments
 (0)