comparison rust/hg-cpython/src/ancestors.rs @ 51705:3876d4c6c79e

rustfmt: format the codebase with nightly-2024-07-16 The CI has moved to a newer nightly, which slightly changes how it wraps comments (which is the very option we use nightly for).
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 18 Jul 2024 12:38:26 +0200
parents 7f0cb9ee0534
children
comparison
equal deleted inserted replaced
51704:550994128204 51705:3876d4c6c79e
17 //! 17 //!
18 //! - [`MissingAncestors`] is the Rust implementation of 18 //! - [`MissingAncestors`] is the Rust implementation of
19 //! `mercurial.ancestor.incrementalmissingancestors`. 19 //! `mercurial.ancestor.incrementalmissingancestors`.
20 //! 20 //!
21 //! API differences: 21 //! API differences:
22 //! + it is instantiated with a C `parsers.index` 22 //! + it is instantiated with a C `parsers.index` instance instead of a
23 //! instance instead of a parents function. 23 //! parents function.
24 //! + `MissingAncestors.bases` is a method returning a tuple instead of 24 //! + `MissingAncestors.bases` is a method returning a tuple instead of
25 //! a set-valued attribute. We could return a Python set easily if our 25 //! a set-valued attribute. We could return a Python set easily if our
26 //! [PySet PR](https://github.com/dgrunwald/rust-cpython/pull/165) 26 //! [PySet PR](https://github.com/dgrunwald/rust-cpython/pull/165)
27 //! is accepted. 27 //! is accepted.
28 //! 28 //!