Skip to content

Commit 66a6326

Browse files
committed
README.md: Fix space (non-breaking space)
Replace a non-breaking space (U+C2A0) with a normal space in the README.md. This non-ASCII character coming right after a preformatted argument name apparently cause rustc to panic: $ cargo +nightly clippy --all-features [...] thread 'rustc' panicked at compiler/rustc_resolve/src/rustdoc.rs:573:52: byte index 7115 is not a char boundary; it is inside '\u{a0}' (bytes 7114..7116) of `# rbpf <picture> <source media="(prefers-color-scheme: dark)" srcset="misc/rbpf_256_border.png"> <img src="misc/rbpf_256.png"> </picture> Rust (user-space) virtual machine for eBPF [![Build Status](https://github.com/qmonnet/rbpf/actions/workflows/t`[...] stack backtrace: [...] error: the compiler unexpectedly panicked. this is a bug. [...] Link: https://github.com/qmonnet/rbpf/actions/runs/15249809389/job/42949036444?pr=125 Signed-off-by: Quentin Monnet <qmo@qmon.net>
1 parent 487d0bd commit 66a6326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ checked with a very simple verifier (nothing close to the one for Linux
163163
kernel). Users are also able to replace it with a custom verifier.
164164

165165
For `struct EbpfVmFixedMbuff`, two additional arguments must be passed to the
166-
constructor: `data_offset` and `data_end_offset`. They are the offset (byte
166+
constructor: `data_offset` and `data_end_offset`. They are the offset (byte
167167
number) at which the pointers to the beginning and to the end, respectively, of
168168
the memory area of packet data are to be stored in the internal metadata buffer
169169
each time the program is executed. Other structs do not use this mechanism and

0 commit comments

Comments
 (0)