Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-shigueo committed Nov 25, 2024
1 parent 4c78dbb commit f1ffff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts-rs/src/export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ fn export_and_merge(
Ok(())
}

const HEADER_ERROR_MESSAGE: &'static str = "The generated strings must have their NOTE and imports separated from their type declarations by a new line";
const HEADER_ERROR_MESSAGE: &str = "The generated strings must have their NOTE and imports separated from their type declarations by a new line";

const DECLARATION_START: &'static str = "export type ";
const DECLARATION_START: &str = "export type ";

/// Inserts the imports and declaration from the newly generated type
/// into the contents of the file, removimg duplicate imports and organazing
Expand Down

0 comments on commit f1ffff6

Please sign in to comment.