We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 162a65b commit b8d552cCopy full SHA for b8d552c
1 file changed
src/core/dm.rs
@@ -570,7 +570,7 @@ impl DM {
570
let target_type = unsafe {
571
let cast: &[u8; 16] = &*(&targ.target_type as *const [u8; 16]);
572
let slc = slice_to_null(cast).expect("assume all parsing succeeds");
573
- String::from_utf8_lossy(slc).into_owned()
+ String::from_utf8_lossy(slc).trim_end().to_owned()
574
};
575
576
let params = {
0 commit comments