diff --git a/fish-rust/src/history/file.rs b/fish-rust/src/history/file.rs index 80d1db3e6..6ff6785a5 100644 --- a/fish-rust/src/history/file.rs +++ b/fish-rust/src/history/file.rs @@ -304,8 +304,6 @@ fn unescape_yaml_fish_2_0(s: &mut Vec) { // character. cursor = backslash + 1; } - - debug_assert!(std::str::from_utf8(s).is_ok()); } /// Read one line, stripping off any newline, returning the number of bytes consumed.