Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
fix: rebase, codegen and bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Dec 5, 2022
1 parent 77139d7 commit d3e8048
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions crates/rome_formatter/src/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ pub enum FormatError {
InvalidDocument(InvalidDocumentError),

/// Formatting failed because some content encountered a situation where a layout
/// choice by an enclosing [`Format`] resulted in a poor layout for a child [`Format`].
/// choice by an enclosing [crate::Format] resulted in a poor layout for a child [crate::Format].
///
/// It's up to an enclosing [`Format`] to handle the error and pick another layout.
/// This error should not be raised if there's no outer [`Format`] handling the poor layout error,
/// It's up to an enclosing [crate::Format] to handle the error and pick another layout.
/// This error should not be raised if there's no outer [crate::Format] handling the poor layout error,
/// avoiding that formatting of the whole document fails.
PoorLayout,
}
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_js_syntax/src/union_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl AnyJsClassMember {
}
}

/// Tests if the member has a [`JsLiteralMemberName`](rome_js_syntax::JsLiteralMemberName) of `name`.
/// Tests if the member has a [`JsLiteralMemberName`](crate::JsLiteralMemberName) of `name`.
pub fn has_name(&self, name: &str) -> SyntaxResult<bool> {
match self.name()? {
Some(AnyJsClassMemberName::JsLiteralMemberName(literal)) => {
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_service/src/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use std::path::PathBuf;
pub enum RomeError {
/// The project contains uncommitted changes
DirtyWorkspace,
/// The file does not exist in the [Workspace]
/// The file does not exist in the [crate::Workspace]
NotFound,
/// A file is not supported. It contains the language and path of the file
/// Use this error if Rome is trying to process a file that Rome can't understand
Expand Down
1 change: 1 addition & 0 deletions npm/backend-jsonrpc/src/workspace.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d3e8048

Please sign in to comment.