Mercurial > hg
diff rust/hg-core/src/dagops.rs @ 42841:ce6797ef6eab
rust: apply more formatting fixes
My cargo fmt updated these lines and they look good.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 31 Aug 2019 14:12:38 +0900 |
parents | be0733552984 |
children | 26114bd6ec60 |
line wrap: on
line diff
--- a/rust/hg-core/src/dagops.rs Thu Aug 22 14:31:07 2019 +0200 +++ b/rust/hg-core/src/dagops.rs Sat Aug 31 14:12:38 2019 +0900 @@ -8,10 +8,10 @@ //! Miscellaneous DAG operations //! //! # Terminology -//! - By *relative heads* of a collection of revision numbers (`Revision`), -//! we mean those revisions that have no children among the collection. -//! - Similarly *relative roots* of a collection of `Revision`, we mean -//! those whose parents, if any, don't belong to the collection. +//! - By *relative heads* of a collection of revision numbers (`Revision`), we +//! mean those revisions that have no children among the collection. +//! - Similarly *relative roots* of a collection of `Revision`, we mean those +//! whose parents, if any, don't belong to the collection. use super::{Graph, GraphError, Revision, NULL_REVISION}; use crate::ancestors::AncestorsIterator; use std::collections::{BTreeSet, HashSet}; @@ -272,5 +272,4 @@ ); Ok(()) } - }