Fix invalid link
This commit is contained in:
parent
ab5b1be771
commit
753968162a
1 changed files with 2 additions and 2 deletions
|
@ -953,7 +953,7 @@ impl<'tcx> rustc_type_ir::Flags for Clauses<'tcx> {
|
|||
/// environment. `ParamEnv` is the type that represents this information. See the
|
||||
/// [dev guide chapter][param_env_guide] for more information.
|
||||
///
|
||||
/// [param_env_guide]: https://rustc-dev-guide.rust-lang.org/param_env/param_env_summary.html
|
||||
/// [param_env_guide]: https://rustc-dev-guide.rust-lang.org/typing_parameter_envs.html
|
||||
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
|
||||
#[derive(HashStable, TypeVisitable, TypeFoldable)]
|
||||
pub struct ParamEnv<'tcx> {
|
||||
|
@ -977,7 +977,7 @@ impl<'tcx> ParamEnv<'tcx> {
|
|||
/// to use an empty environment. See the [dev guide section][param_env_guide]
|
||||
/// for information on what a `ParamEnv` is and how to acquire one.
|
||||
///
|
||||
/// [param_env_guide]: https://rustc-dev-guide.rust-lang.org/param_env/param_env_summary.html
|
||||
/// [param_env_guide]: https://rustc-dev-guide.rust-lang.org/typing_parameter_envs.html
|
||||
#[inline]
|
||||
pub fn empty() -> Self {
|
||||
Self::new(ListWithCachedTypeInfo::empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue