We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1554d01 commit 3aaff7eCopy full SHA for 3aaff7e
glib/src/collections/strv.rs
@@ -201,7 +201,7 @@ impl IntoIter {
201
// rustdoc-stripper-ignore-next
202
/// Returns the remaining items as slice.
203
#[inline]
204
- pub fn as_slice(&self) -> &[GStringPtr] {
+ pub const fn as_slice(&self) -> &[GStringPtr] {
205
unsafe {
206
if self.len == 0 {
207
&[]
@@ -692,7 +692,7 @@ impl StrV {
692
693
/// Borrows this slice as a `&[GStringPtr]`.
694
695
696
697
698
0 commit comments