public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-cssparser] epel10: Fix typo in code block attribute to fix issues with Rust 1.80+
@ 2026-06-15 14:13 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-15 14:13 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 14:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 14:13 [rpms/rust-cssparser] epel10: Fix typo in code block attribute to fix issues with Rust 1.80+ Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox