Skip to content

Commit

Permalink
remove cfg attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiantia committed Jan 22, 2024
1 parent 9c58183 commit f16144f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/aws/region.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ pub struct RegionOrEndpoint {
}

impl RegionOrEndpoint {
#[cfg(test)]
/// Creates with the given region.
pub const fn with_region(region: String) -> Self {
Self {
Expand All @@ -29,7 +28,6 @@ impl RegionOrEndpoint {
}
}

#[cfg(test)]
/// Creates with both a region and an endpoint.
pub fn with_both(region: impl Into<String>, endpoint: impl Into<String>) -> Self {
Self {
Expand Down

0 comments on commit f16144f

Please sign in to comment.