Skip to content

Commit 7539681

Browse files
committed
Fix invalid link
1 parent ab5b1be commit 7539681

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+2
-2
lines changed

Diff for: compiler/rustc_middle/src/ty/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ impl<'tcx> rustc_type_ir::Flags for Clauses<'tcx> {
953953
/// environment. `ParamEnv` is the type that represents this information. See the
954954
/// [dev guide chapter][param_env_guide] for more information.
955955
///
956-
/// [param_env_guide]: https://rustc-dev-guide.rust-lang.org/param_env/param_env_summary.html
956+
/// [param_env_guide]: https://rustc-dev-guide.rust-lang.org/typing_parameter_envs.html
957957
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
958958
#[derive(HashStable, TypeVisitable, TypeFoldable)]
959959
pub struct ParamEnv<'tcx> {
@@ -977,7 +977,7 @@ impl<'tcx> ParamEnv<'tcx> {
977977
/// to use an empty environment. See the [dev guide section][param_env_guide]
978978
/// for information on what a `ParamEnv` is and how to acquire one.
979979
///
980-
/// [param_env_guide]: https://rustc-dev-guide.rust-lang.org/param_env/param_env_summary.html
980+
/// [param_env_guide]: https://rustc-dev-guide.rust-lang.org/typing_parameter_envs.html
981981
#[inline]
982982
pub fn empty() -> Self {
983983
Self::new(ListWithCachedTypeInfo::empty())

0 commit comments

Comments
 (0)