Removed useless TODO

Fortune for reverse's current commit: Middle blessing − 中吉
master
Avril 3 years ago
parent bd3af1b167
commit ecbcc6ccfb
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -108,7 +108,6 @@ fn collect_input() -> Box<dyn Iterator<Item= impl Input + 'static> + 'static>
Self::Raw(OsStr::from_bytes(bytes).to_os_string()) Self::Raw(OsStr::from_bytes(bytes).to_os_string())
} }
#[inline(always)] #[inline(always)]
//#[deprecated(note="XXX: TODO: Only use this if the read_until() into vec does not add the '\n' into the vec as well. Otherwise, *always* use this.")]
pub fn from_raw_vec(vec: Vec<u8>) -> Self pub fn from_raw_vec(vec: Vec<u8>) -> Self
{ {
Self::Raw(OsString::from_vec(vec)) Self::Raw(OsString::from_vec(vec))

Loading…
Cancel
Save