We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c3a3e3 commit 9efe61dCopy full SHA for 9efe61d
library/core/src/num/mod.rs
@@ -806,8 +806,8 @@ impl u8 {
806
without modifying the original"]
807
#[unstable(feature = "inherent_ascii_escape", issue = "77174")]
808
#[inline]
809
- pub fn escape_ascii(&self) -> ascii::EscapeDefault {
810
- ascii::escape_default(*self)
+ pub fn escape_ascii(self) -> ascii::EscapeDefault {
+ ascii::escape_default(self)
811
}
812
813
pub(crate) fn is_utf8_char_boundary(self) -> bool {
0 commit comments