summaryrefslogtreecommitdiffstats
path: root/src/locale.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale.rs')
-rw-r--r--src/locale.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/locale.rs b/src/locale.rs
index 9fcd2db2..bea68cad 100644
--- a/src/locale.rs
+++ b/src/locale.rs
@@ -11,6 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
+#![cfg_attr(feature = "cargo-clippy", allow(let_unit_value))]
#![cfg(target_os = "macos")]
use libc::{LC_CTYPE, setlocale};
use std::ffi::{CString, CStr};