tamer: diagnose::resolve{r=>}: Rename

Consistent with naming of other modules, which prefers to not needlessly
transform words.

DEV-12151
main
Mike Gerwitz 2022-05-02 09:49:22 -04:00
parent 75b966c577
commit 7248ef77e4
6 changed files with 7 additions and 7 deletions

View File

@ -76,10 +76,10 @@
//! See the [`report`] module for more information.
mod report;
mod resolver;
mod resolve;
pub use report::{Reporter, VisualReporter};
pub use resolver::FsSpanResolver;
pub use resolve::FsSpanResolver;
use core::fmt;
use std::{borrow::Cow, error::Error, fmt::Display};

View File

@ -19,7 +19,7 @@
//! Rendering of diagnostic report.
//!
//! This module is responsible for [resolving](super::resolver) and
//! This module is responsible for [resolving](super::resolve) and
//! rendering spans into a formatted [`Report`],
//! which in turn can be rendered into a string with [`Display::fmt`].
//!
@ -31,7 +31,7 @@
// rather than using both.
use super::{
resolver::{
resolve::{
Column, ResolvedSpan, ResolvedSpanData, SourceLine, SpanResolver,
SpanResolverError,
},
@ -777,7 +777,7 @@ impl Display for SectionSourceLine {
/// Marks are displayed below a [`SectionSourceLine`] and are intended to
/// visually display a [`Span`].
/// Column resolution
/// (see [`super::resolver`])
/// (see [`super::resolve`])
/// exists primarily for mark rendering.
#[derive(Debug, PartialEq, Eq)]
struct LineMark<'d> {

View File

@ -20,7 +20,7 @@
use super::*;
use crate::{
convert::ExpectInto,
diagnose::resolver::Column,
diagnose::resolve::Column,
span::{DUMMY_CONTEXT, DUMMY_SPAN},
};
use std::{io, num::NonZeroU32};

View File

@ -54,7 +54,7 @@
use crate::span::Context;
use super::super::super::{resolver::BufSpanResolver, Annotate};
use super::super::super::{resolve::BufSpanResolver, Annotate};
use super::*;
use std::{
collections::HashMap,