about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-03 16:01:44 -0700
committerbors <bors@rust-lang.org>2014-06-03 16:01:44 -0700
commitf5ead0dd66ab7c3aaaaabcc34e1726a4acd74b07 (patch)
treef1bae6c7fcb0dc466f1a342ed98c5c4eda90d062 /src/libsyntax
parent2ec3eeaba85b95e52c30988e54aee957f1812faa (diff)
parent296102ec869834a7faed34106ad2cf24dd83766a (diff)
downloadrust-f5ead0dd66ab7c3aaaaabcc34e1726a4acd74b07.tar.gz
rust-f5ead0dd66ab7c3aaaaabcc34e1726a4acd74b07.zip
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.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/crateid.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/crateid.rs b/src/libsyntax/crateid.rs
index 3f74598d2e5..a50cca1e164 100644
--- a/src/libsyntax/crateid.rs
+++ b/src/libsyntax/crateid.rs
@@ -1,4 +1,4 @@
-// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -13,7 +13,7 @@ use std::fmt;
 /// CrateIds identify crates and include the crate name and optionally a path
 /// and version. In the full form, they look like relative URLs. Example:
 /// `github.com/mozilla/rust#std:1.0` would be a package ID with a path of
-/// `gitub.com/mozilla/rust` and a crate name of `std` with a version of
+/// `github.com/mozilla/rust` and a crate name of `std` with a version of
 /// `1.0`. If no crate name is given after the hash, the name is inferred to
 /// be the last component of the path. If no version is given, it is inferred
 /// to be `0.0`.