mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-11-16 00:10:35 +08:00
nix: update to rust-1.66
Rust 1.66.0 was announced[0]. The code fixes were all for the clippy warning regarding needless borrows. The doc tool now parses for HTML, so any <placeholder> now needs to be wrapped in backticks, i.e. `<placeholder>`. [0]: https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
@@ -96,7 +96,7 @@ impl<'a> Qualified<'a> {
|
||||
/// Add a namespace.
|
||||
///
|
||||
/// Creates a new [`Namespaced`] by prefxing `self` with
|
||||
/// "refs/namespaces/<ns>".
|
||||
/// `refs/namespaces/<ns>`.
|
||||
pub fn with_namespace<'b>(&self, ns: Component<'b>) -> Namespaced<'a> {
|
||||
Namespaced(Cow::Owned(
|
||||
IntoIterator::into_iter([lit::Refs.into(), lit::Namespaces.into(), ns])
|
||||
|
||||
@@ -345,7 +345,7 @@ impl<'a> QualifiedPattern<'a> {
|
||||
/// Add a namespace.
|
||||
///
|
||||
/// Creates a new [`NamespacedPattern`] by prefxing `self` with
|
||||
/// "refs/namespaces/<ns>".
|
||||
/// `refs/namespaces/<ns>`.
|
||||
pub fn with_namespace<'b>(
|
||||
&self,
|
||||
ns: Component<'b>,
|
||||
|
||||
Reference in New Issue
Block a user