Fix spelling (#475)

Fixed the spelling in a few comments.
This commit is contained in:
Michael McDonnell 2020-09-01 13:07:12 -07:00 committed by GitHub
parent 0b429e5dcf
commit c7d8fa3bc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@
//! ## Examples
//!
//! Cursor actions can be performed with commands.
//! Please have a look at [command documention](../index.html#command-api) for a more detailed documentation.
//! Please have a look at [command documentation](../index.html#command-api) for a more detailed documentation.
//!
//! ```no_run
//! use std::io::{stdout, Write};

View File

@ -34,7 +34,7 @@
// Produces a single method for a "base" Styler implementation
//
// The first argument is the type for which Styler is being implemented. Because this is the same
// for all "base" types, we can collase them into a single macro.
// for all "base" types, we can collapse them into a single macro.
macro_rules! def_attr_base {
($impl_ty:ty, $name:ident => $attr:path) => {
fn $name(self) -> StyledContent<$impl_ty> {

View File

@ -83,7 +83,7 @@ impl<D: Display> StyledContent<D> {
&self.style
}
/// Returns a mutable reference to the style, so that it can be futher
/// Returns a mutable reference to the style, so that it can be further
/// manipulated
#[inline]
pub fn style_mut(&mut self) -> &mut ContentStyle {
@ -111,7 +111,7 @@ impl<D: Display> Display for StyledContent<D> {
self.content.fmt(f)?;
// TODO: There are specific command sequences for "reset forground
// TODO: There are specific command sequences for "reset foreground
// color (39m)" and "reset background color (49m)"; consider using
// these.
if reset {

View File

@ -8,7 +8,7 @@
//! to demonstrate the capabilities.
//!
//! Most terminal actions can be performed with commands.
//! Please have a look at [command documention](../index.html#command-api) for a more detailed documentation.
//! Please have a look at [command documentation](../index.html#command-api) for a more detailed documentation.
//!
//! ## Screen Buffer
//!