Skip to content

Commit c3dc153

Browse files
authored
Merge pull request #1119 from titaniumtraveler/pr
Fix missing backtick in doc comments letting markdown think &[u8] is a link to u8
2 parents 218770b + 840da8e commit c3dc153

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ enum Value {
7676

7777
A string of JSON data can be parsed into a `serde_json::Value` by the
7878
[`serde_json::from_str`][from_str] function. There is also
79-
[`from_slice`][from_slice] for parsing from a byte slice &\[u8\] and
79+
[`from_slice`][from_slice] for parsing from a byte slice `&[u8]` and
8080
[`from_reader`][from_reader] for parsing from any `io::Read` like a File or a
8181
TCP stream.
8282

src/lexical/large_powers32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
//! Precalculated large powers for 32-bit limbs.
44
5-
/// Large powers (&[u32]) for base5 operations.
5+
/// Large powers (`&[u32]`) for base5 operations.
66
const POW5_1: [u32; 1] = [5];
77
const POW5_2: [u32; 1] = [25];
88
const POW5_3: [u32; 1] = [625];

src/lexical/large_powers64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
//! Precalculated large powers for 64-bit limbs.
44
5-
/// Large powers (&[u64]) for base5 operations.
5+
/// Large powers (`&[u64]`) for base5 operations.
66
const POW5_1: [u64; 1] = [5];
77
const POW5_2: [u64; 1] = [25];
88
const POW5_3: [u64; 1] = [625];

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
//!
5757
//! A string of JSON data can be parsed into a `serde_json::Value` by the
5858
//! [`serde_json::from_str`][from_str] function. There is also [`from_slice`]
59-
//! for parsing from a byte slice &\[u8\] and [`from_reader`] for parsing from
59+
//! for parsing from a byte slice `&[u8]` and [`from_reader`] for parsing from
6060
//! any `io::Read` like a File or a TCP stream.
6161
//!
6262
//! ```

src/read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use alloc::string::String;
2020
use serde::de::Visitor;
2121

2222
/// Trait used by the deserializer for iterating over input. This is manually
23-
/// "specialized" for iterating over &[u8]. Once feature(specialization) is
23+
/// "specialized" for iterating over `&[u8]`. Once feature(specialization) is
2424
/// stable we can use actual specialization.
2525
///
2626
/// This trait is sealed and cannot be implemented for types outside of

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy