File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed
Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ impl<'cfg> GitSource<'cfg> {
123123 }
124124
125125 /// Returns the packages discovered by this source. It may fetch the Git
126- /// repository as well as walk the filesystem if package informations
126+ /// repository as well as walk the filesystem if package information
127127 /// haven't yet updated.
128128 pub fn read_packages ( & mut self ) -> CargoResult < Vec < Package > > {
129129 if self . path_source . is_none ( ) {
Original file line number Diff line number Diff line change 11//! The trait for sources of Cargo packages and its built-in implemetations.
22//!
33//! A source is a provider that contains source files and metadata of packages.
4- //! It provides a number of methods to fetch those package informations , for
4+ //! It provides a number of methods to fetch those package information , for
55//! example, querying metadata or downloading files for a package. These
6- //! informations then can be used as dependencies for other Cargo packages.
6+ //! information then can be used as dependencies for other Cargo packages.
77//!
88//! This module provides [`Source`][source::Source] trait as an abstraction of different sources,
99//! as well as [`SourceMap`][source::SourceMap] struct as a map of all available sources.
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ pub struct PathSource<'cfg> {
3030 source_id : SourceId ,
3131 /// The root path of this source.
3232 path : PathBuf ,
33- /// Whether this source has updated all package informations it may contain.
33+ /// Whether this source has updated all package information it may contain.
3434 updated : bool ,
3535 /// Packages that this sources has discovered.
3636 packages : Vec < Package > ,
@@ -97,7 +97,7 @@ impl<'cfg> PathSource<'cfg> {
9797 }
9898
9999 /// Returns the packages discovered by this source. It may walk the
100- /// filesystem if package informations haven't yet updated.
100+ /// filesystem if package information haven't yet updated.
101101 pub fn read_packages ( & self ) -> CargoResult < Vec < Package > > {
102102 if self . updated {
103103 Ok ( self . packages . clone ( ) )
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ pub struct LocalRegistry<'cfg> {
6363 /// Path where this local registry extract `.crate` tarballs to.
6464 src_path : Filesystem ,
6565 config : & ' cfg Config ,
66- /// Whether this source has updated all package informations it may contain.
66+ /// Whether this source has updated all package information it may contain.
6767 updated : bool ,
6868 /// Disables status messages.
6969 quiet : bool ,
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ pub struct RemoteRegistry<'cfg> {
7070 head : Cell < Option < git2:: Oid > > ,
7171 /// This stores sha value of the current HEAD commit for convenience.
7272 current_sha : Cell < Option < InternedString > > ,
73- /// Whether this registry needs to update package informations .
73+ /// Whether this registry needs to update package information .
7474 ///
7575 /// See [`RemoteRegistry::mark_updated`] on how to make sure a registry
7676 /// index is updated only once per session.
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pub trait Source {
4747 /// Attempts to find the packages that match a dependency request.
4848 ///
4949 /// Usually you should call [`Source::block_until_ready`] somewhere and
50- /// wait until package informations become available. Otherwise any query
50+ /// wait until package information become available. Otherwise any query
5151 /// may return a [`Poll::Pending`].
5252 ///
5353 /// The `f` argument is expected to get called when any [`Summary`] becomes available.
You can’t perform that action at this time.
0 commit comments