Skip to content

Commit

Permalink
Use American English and wrap comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SabrinaJewson committed Jun 15, 2022
1 parent 5678cf1 commit 8a92b72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rspotify-model/src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ fn read_file(path: &Path) -> Result<Vec<u8>, ReadFileError> {
#[derive(Debug, Error)]
#[error("failed to read file {}", path.display())]
pub struct ReadFileError {
// Intentionally not exposed to allow future API evolution, e.g. moving this to a enum variants
// `Open(io::Error)` and `Read(io::Error)`
// Intentionally not exposed to allow future API evolution, e.g., moving
// this to a enum variants `Open(io::Error)` and `Read(io::Error)`
#[source]
inner: io::Error,
path: Box<Path>,
Expand Down Expand Up @@ -166,8 +166,8 @@ fn write_file(path: &Path, bytes: &[u8]) -> Result<(), WriteFileError> {
#[derive(Debug, Error)]
#[error("failed to write file {}", path.display())]
pub struct WriteFileError {
// Intentionally not exposed to allow future API evolution, e.g. moving this to an enum variant
// `Open(io::Error)` and `Write(io::Error)`
// Intentionally not exposed to allow future API evolution, e.g., moving
// this to an enum variant `Open(io::Error)` and `Write(io::Error)`
#[source]
inner: io::Error,
path: Box<Path>,
Expand Down

0 comments on commit 8a92b72

Please sign in to comment.