* [PATCH] rust: str: fix requierments->requirements typo for rust str
@ 2023-03-03 19:06 ` Patrick Blass
0 siblings, 0 replies; 4+ messages in thread
From: Patrick Blass via B4 Relay @ 2023-03-03 19:06 UTC (permalink / raw)
To: Miguel Ojeda, Alex Gaynor, Wedson Almeida Filho, Boqun Feng,
Gary Guo, Björn Roy Baron, Morgan Bartlett, Niklas Mohrin
Cc: Geoffrey Thomas, Greg Kroah-Hartman, Viktor Garske,
Sven Van Asbroeck, rust-for-linux, linux-kernel, Patrick Blass
From: Patrick Blass <patrickblass@mailbox.org>
Fix a trivial spelling error in the rust str file.
Fixes: 247b365dc8dc ("rust: add `kernel` crate")
Reported-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/978
Signed-off-by: Patrick Blass <patrickblass@mailbox.org>
---
rust/kernel/str.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/kernel/str.rs b/rust/kernel/str.rs
index b771310fa4a4..cd3d2a6cf1fc 100644
--- a/rust/kernel/str.rs
+++ b/rust/kernel/str.rs
@@ -408,7 +408,7 @@ impl RawFormatter {
/// If `pos` is less than `end`, then the region between `pos` (inclusive) and `end`
/// (exclusive) must be valid for writes for the lifetime of the returned [`RawFormatter`].
pub(crate) unsafe fn from_ptrs(pos: *mut u8, end: *mut u8) -> Self {
- // INVARIANT: The safety requierments guarantee the type invariants.
+ // INVARIANT: The safety requirements guarantee the type invariants.
Self {
beg: pos as _,
pos: pos as _,
---
base-commit: c9c3395d5e3dcc6daee66c6908354d47bf98cb0c
change-id: 20230303-str-rs-typo-be1cc85db93f
Best regards,
--
Patrick Blass <patrickblass@mailbox.org>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] rust: str: fix requierments->requirements typo for rust str
@ 2023-03-03 19:06 ` Patrick Blass
0 siblings, 0 replies; 4+ messages in thread
From: Patrick Blass @ 2023-03-03 19:06 UTC (permalink / raw)
To: Miguel Ojeda, Alex Gaynor, Wedson Almeida Filho, Boqun Feng,
Gary Guo, Björn Roy Baron, Morgan Bartlett, Niklas Mohrin
Cc: Geoffrey Thomas, Greg Kroah-Hartman, Viktor Garske,
Sven Van Asbroeck, rust-for-linux, linux-kernel, Patrick Blass
Fix a trivial spelling error in the rust str file.
Fixes: 247b365dc8dc ("rust: add `kernel` crate")
Reported-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/978
Signed-off-by: Patrick Blass <patrickblass@mailbox.org>
---
rust/kernel/str.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/kernel/str.rs b/rust/kernel/str.rs
index b771310fa4a4..cd3d2a6cf1fc 100644
--- a/rust/kernel/str.rs
+++ b/rust/kernel/str.rs
@@ -408,7 +408,7 @@ impl RawFormatter {
/// If `pos` is less than `end`, then the region between `pos` (inclusive) and `end`
/// (exclusive) must be valid for writes for the lifetime of the returned [`RawFormatter`].
pub(crate) unsafe fn from_ptrs(pos: *mut u8, end: *mut u8) -> Self {
- // INVARIANT: The safety requierments guarantee the type invariants.
+ // INVARIANT: The safety requirements guarantee the type invariants.
Self {
beg: pos as _,
pos: pos as _,
---
base-commit: c9c3395d5e3dcc6daee66c6908354d47bf98cb0c
change-id: 20230303-str-rs-typo-be1cc85db93f
Best regards,
--
Patrick Blass <patrickblass@mailbox.org>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] rust: str: fix requierments->requirements typo for rust str
2023-03-03 19:06 ` Patrick Blass
(?)
@ 2023-03-04 19:49 ` Vincenzo Palazzo
-1 siblings, 0 replies; 4+ messages in thread
From: Vincenzo Palazzo @ 2023-03-04 19:49 UTC (permalink / raw)
To: patrickblass, Miguel Ojeda, Alex Gaynor, Wedson Almeida Filho,
Boqun Feng, Gary Guo, Björn Roy Baron, Morgan Bartlett,
Niklas Mohrin
Cc: Geoffrey Thomas, Greg Kroah-Hartman, Viktor Garske,
Sven Van Asbroeck, rust-for-linux, linux-kernel
> From: Patrick Blass <patrickblass@mailbox.org>
>
> Fix a trivial spelling error in the rust str file.
>
> Fixes: 247b365dc8dc ("rust: add `kernel` crate")
> Reported-by: Miguel Ojeda <ojeda@kernel.org>
> Link: https://github.com/Rust-for-Linux/linux/issues/978
> Signed-off-by: Patrick Blass <patrickblass@mailbox.org>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] rust: str: fix requierments->requirements typo for rust str
2023-03-03 19:06 ` Patrick Blass
(?)
(?)
@ 2023-04-06 21:08 ` Miguel Ojeda
-1 siblings, 0 replies; 4+ messages in thread
From: Miguel Ojeda @ 2023-04-06 21:08 UTC (permalink / raw)
To: patrickblass
Cc: Miguel Ojeda, Alex Gaynor, Wedson Almeida Filho, Boqun Feng,
Gary Guo, Björn Roy Baron, Morgan Bartlett, Niklas Mohrin,
Geoffrey Thomas, Greg Kroah-Hartman, Viktor Garske,
Sven Van Asbroeck, rust-for-linux, linux-kernel
On Fri, Mar 3, 2023 at 8:07 PM Patrick Blass via B4 Relay
<devnull+patrickblass.mailbox.org@kernel.org> wrote:
>
> Fix a trivial spelling error in the rust str file.
Applied to `rust-fixes`, thanks!
Cheers,
Miguel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-04-06 21:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03 19:06 [PATCH] rust: str: fix requierments->requirements typo for rust str Patrick Blass via B4 Relay
2023-03-03 19:06 ` Patrick Blass
2023-03-04 19:49 ` Vincenzo Palazzo
2023-04-06 21:08 ` Miguel Ojeda
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.