Skip to content

Commit f5ead0d

Browse files
committed
auto merge of #14627 : Indiv0/rust/fix-crateid-doc-typo, r=alexcrichton
Example URL in CrateId documentation is: `gihub.com/mozilla/rust` Instead of: `github.com/mozilla/rust` Also update libsyntax/crateid.rs licensing header for 2014.
2 parents 2ec3eea + 296102e commit f5ead0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/crateid.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -13,7 +13,7 @@ use std::fmt;
1313
/// CrateIds identify crates and include the crate name and optionally a path
1414
/// and version. In the full form, they look like relative URLs. Example:
1515
/// `github.com/mozilla/rust#std:1.0` would be a package ID with a path of
16-
/// `gitub.com/mozilla/rust` and a crate name of `std` with a version of
16+
/// `github.com/mozilla/rust` and a crate name of `std` with a version of
1717
/// `1.0`. If no crate name is given after the hash, the name is inferred to
1818
/// be the last component of the path. If no version is given, it is inferred
1919
/// to be `0.0`.

0 commit comments

Comments
 (0)