Skip to content

Char-by-char iterator and `read_char` method for `BufRead`.

Notifications You must be signed in to change notification settings

A1-Triard/utf8-chars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maintenance: passively maintained

utf8-chars

Char-by-char iterator and read_char method for BufRead.

use std::io::stdin;
use utf8_chars::BufReadCharsExt;

fn main() {
    for c in stdin().lock().chars().map(|x| x.unwrap()) {
        println!("{}", c);
    }
}

About

Char-by-char iterator and `read_char` method for `BufRead`.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages