Skip to content

Commit

Permalink
style: Address warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed May 2, 2024
1 parent d52cc4c commit 0e562db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::process;

use crate::cargo::Cargo;
use crate::cargo::CURRENT_TARGET;
use crate::error::{CargoError, CargoResult};
use crate::error::CargoResult;
use crate::msg::CommandMessages;
use crate::run::CargoRun;
#[cfg(feature = "test_unstable")]
Expand Down
2 changes: 1 addition & 1 deletion src/format/diagnostic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub struct DiagnosticSpan<'a> {
/// Is this a "primary" span -- meaning the point, or one of the points,
/// where the error occurred?
pub is_primary: bool,
/// Source text from the start of line_start to the end of line_end.
/// Source text from the start of `line_start` to the end of `line_end`.
#[serde(borrow)]
pub text: Vec<DiagnosticSpanLine<'a>>,
/// Label that should be placed at this location (if any)
Expand Down

0 comments on commit 0e562db

Please sign in to comment.