Skip to content

Commit

Permalink
tests: use pub(crate) to avoid missing documentation error
Browse files Browse the repository at this point in the history
It is an error since rust 1.83

Signed-off-by: Tristram Gräbener <[email protected]>
  • Loading branch information
Tristramg committed Dec 1, 2024
1 parent d9b5043 commit 6cf9a37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lrm_scale.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,12 @@ impl LrmScale {
}

#[cfg(test)]
pub mod tests {
pub(crate) mod tests {
use geo::point;

use super::*;
pub fn scale() -> LrmScale {

pub(crate) fn scale() -> LrmScale {
LrmScale {
id: "id".to_owned(),
anchors: vec![
Expand Down

0 comments on commit 6cf9a37

Please sign in to comment.