public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-cssparser] epel10: Fix typo in code block attribute to fix issues with Rust 1.80+
Date: Mon, 15 Jun 2026 14:13:51 GMT	[thread overview]
Message-ID: <178153283190.1.6596794888845185261.rpms-rust-cssparser-5a9783bfcff4@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-cssparser
Branch : epel10
Commit : 5a9783bfcff41f5bb3cd577d400c97b20ee5320b
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2024-08-08T16:50:17+02:00
Stats  : +65/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-cssparser/c/5a9783bfcff41f5bb3cd577d400c97b20ee5320b?branch=epel10

Log:
Fix typo in code block attribute to fix issues with Rust 1.80+

---
diff --git a/0001-Fix-typo-in-code-block-attribute-to-fix-issues-with-.patch b/0001-Fix-typo-in-code-block-attribute-to-fix-issues-with-.patch
new file mode 100644
index 0000000..5c987fb
--- /dev/null
+++ b/0001-Fix-typo-in-code-block-attribute-to-fix-issues-with-.patch
@@ -0,0 +1,63 @@
+From e21e48330ed0f28d15429374b5f8b846547c490c Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Thu, 8 Aug 2024 16:48:17 +0200
+Subject: [PATCH] Fix typo in code block attribute to fix issues with Rust
+ 1.80+
+
+---
+ src/lib.rs        | 4 ++--
+ src/parser.rs     | 2 +-
+ src/serializer.rs | 2 +-
+ 3 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/lib.rs b/src/lib.rs
+index 7ab88e8..8d0074e 100644
+--- a/src/lib.rs
++++ b/src/lib.rs
+@@ -41,7 +41,7 @@ As a consequence, when calling another parsing function, either:
+ 
+ Examples:
+ 
+-```{rust,ignore}
++```rust,ignore
+ // 'none' | <image>
+ fn parse_background_image(context: &ParserContext, input: &mut Parser)
+                                     -> Result<Option<Image>, ()> {
+@@ -53,7 +53,7 @@ fn parse_background_image(context: &ParserContext, input: &mut Parser)
+ }
+ ```
+ 
+-```{rust,ignore}
++```rust,ignore
+ // [ <length> | <percentage> ] [ <length> | <percentage> ]?
+ fn parse_border_spacing(_context: &ParserContext, input: &mut Parser)
+                           -> Result<(LengthOrPercentage, LengthOrPercentage), ()> {
+diff --git a/src/parser.rs b/src/parser.rs
+index afc6281..88a1726 100644
+--- a/src/parser.rs
++++ b/src/parser.rs
+@@ -270,7 +270,7 @@ impl BlockType {
+ ///
+ /// The union of two sets can be obtained with the `|` operator. Example:
+ ///
+-/// ```{rust,ignore}
++/// ```rust,ignore
+ /// input.parse_until_before(Delimiter::CurlyBracketBlock | Delimiter::Semicolon)
+ /// ```
+ #[derive(Copy, Clone, PartialEq, Eq, Debug)]
+diff --git a/src/serializer.rs b/src/serializer.rs
+index ec970d1..936037b 100644
+--- a/src/serializer.rs
++++ b/src/serializer.rs
+@@ -283,7 +283,7 @@ where
+ ///
+ /// Typical usage:
+ ///
+-/// ```{rust,ignore}
++/// ```rust,ignore
+ /// fn write_foo<W>(foo: &Foo, dest: &mut W) -> fmt::Result where W: fmt::Write {
+ ///     dest.write_str("\"")?;
+ ///     {
+-- 
+2.46.0
+

diff --git a/rust-cssparser.spec b/rust-cssparser.spec
index 0b6c387..311096a 100644
--- a/rust-cssparser.spec
+++ b/rust-cssparser.spec
@@ -12,6 +12,8 @@ Summary:        Rust implementation of CSS Syntax Level 3
 License:        MPL-2.0
 URL:            https://crates.io/crates/cssparser
 Source:         %{crates_source}
+# * fix typo in code block attribute to fix issues with Rust 1.80+
+Patch:          0001-Fix-typo-in-code-block-attribute-to-fix-issues-with-.patch
 
 BuildRequires:  rust-packaging >= 21
 

                 reply	other threads:[~2026-06-15 14:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178153283190.1.6596794888845185261.rpms-rust-cssparser-5a9783bfcff4@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox