See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
pub trait IteratorExt: Iterator + Sized { | |
fn our_flatten(self) -> Flatten<Self> | |
where | |
Self::Item: IntoIterator; | |
} | |
impl<T> IteratorExt for T | |
where | |
T: Iterator, | |
{ | |
fn our_flatten(self) -> Flatten<Self> |
#![warn(rust_2018_idioms)] | |
#[derive(Debug)] | |
pub struct StrSplit<'haystack, D> { | |
remainder: Option<&'haystack str>, | |
delimiter: D, | |
} | |
impl<'haystack, D> StrSplit<'haystack, D> { | |
pub fn new(haystack: &'haystack str, delimiter: D) -> Self { |
REGEDIT4 | |
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink] | |
"Arial"="wqy-microhei.ttc" | |
"Arial Black"="wqy-microhei.ttc" | |
"Arial CE,238"="wqy-microhei.ttc" | |
"Arial CYR,204"="wqy-microhei.ttc" | |
"Arial Greek,161"="wqy-microhei.ttc" | |
"Arial TUR,162"="wqy-microhei.ttc" | |
"Courier New"="wqy-microhei.ttc" |