Skip to content

Commit 633f0a8

Browse files
committed
Allow testing::TestUrlExtension in release builds for consistency (#1962)
The module is still hidden from the documentation, and those who discover it anyway will be informed that it's not for general use.
1 parent 96164c5 commit 633f0a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gix-url/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,10 @@ impl Url {
370370
}
371371

372372
/// This module contains extensions to the [Url] struct which are only intended to be used
373-
/// for testing code. Do not use this module in production! For all intends and purposes the APIs of
373+
/// for testing code. Do not use this module in production! For all intents and purposes, the APIs of
374374
/// all functions and types exposed by this module are considered unstable and are allowed to break
375375
/// even in patch releases!
376376
#[doc(hidden)]
377-
#[cfg(debug_assertions)]
378377
pub mod testing {
379378
use bstr::BString;
380379

0 commit comments

Comments
 (0)