From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/unic-char-range/src/iter_trusted_len.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vendor/unic-char-range/src/iter_trusted_len.rs (limited to 'vendor/unic-char-range/src/iter_trusted_len.rs') diff --git a/vendor/unic-char-range/src/iter_trusted_len.rs b/vendor/unic-char-range/src/iter_trusted_len.rs new file mode 100644 index 000000000..aaf8e5340 --- /dev/null +++ b/vendor/unic-char-range/src/iter_trusted_len.rs @@ -0,0 +1,16 @@ +// Copyright 2017 The UNIC Project Developers. +// +// See the COPYRIGHT file at the top-level directory of this distribution. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +use core::iter; + +use super::iter::CharIter; + +#[allow(unsafe_code)] +unsafe impl iter::TrustedLen for CharIter {} -- cgit v1.2.3