Skip to content

Commit

Permalink
Merge pull request #83 from phrohdoh/fix/reader-utils-fn-docs-first_char
Browse files Browse the repository at this point in the history
fix: docs for reader::first_char now no longer incorrectly state `None` may be returned
  • Loading branch information
Tko1 authored Jul 12, 2021
2 parents 69565b2 + da87ec4 commit 1a1681f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ use std::io::BufRead;

/// Returns the first character of a string slice.
///
/// If `input` is not empty, then its first char will be returned. Otherwise,
/// `None` is returned.
///
/// # Panics
///
/// This function will panic if `input` is an empty string slice.
Expand Down

0 comments on commit 1a1681f

Please sign in to comment.