Skip to content

Commit ab9f280

Browse files
authored
Merge pull request #360 from Abstract-Everything/fix-broken-links-in-documentation
fix broken links to examples in documentation
2 parents 7d3a0cd + 5d964e8 commit ab9f280

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

procfs-core/src/diskstats.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::io::BufRead;
88
/// To fully understand these fields, please see the [iostats.txt](https://www.kernel.org/doc/Documentation/iostats.txt)
99
/// kernel documentation.
1010
///
11-
/// For an example, see the [diskstats.rs](https://github.com/eminence/procfs/tree/master/examples)
11+
/// For an example, see the [diskstats.rs](https://github.com/eminence/procfs/tree/master/procfs/examples)
1212
/// example in the source repo.
1313
// Doc reference: https://www.kernel.org/doc/Documentation/ABI/testing/procfs-diskstats
1414
// Doc reference: https://www.kernel.org/doc/Documentation/iostats.txt

procfs-core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ impl FromBufRead for VmStat {
10431043

10441044
/// Details about a loaded kernel module
10451045
///
1046-
/// For an example, see the [lsmod.rs](https://github.com/eminence/procfs/tree/master/examples)
1046+
/// For an example, see the [lsmod.rs](https://github.com/eminence/procfs/tree/master/procfs/examples)
10471047
/// example in the source repo.
10481048
#[derive(Debug, Clone)]
10491049
#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]

procfs-core/src/locks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ impl From<&str> for LockKind {
112112
#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
113113
/// Details about an individual file lock
114114
///
115-
/// For an example, see the [lslocks.rs](https://github.com/eminence/procfs/tree/master/examples)
115+
/// For an example, see the [lslocks.rs](https://github.com/eminence/procfs/tree/master/procfs/examples)
116116
/// example in the source repo.
117117
pub struct Lock {
118118
/// The type of lock

procfs-core/src/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ impl super::FromBufRead for ArpEntries {
495495

496496
/// General statistics for a network interface/device
497497
///
498-
/// For an example, see the [interface_stats.rs](https://github.com/eminence/procfs/tree/master/examples)
498+
/// For an example, see the [interface_stats.rs](https://github.com/eminence/procfs/tree/master/procfs/examples)
499499
/// example in the source repo.
500500
#[derive(Debug, Clone)]
501501
#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]

procfs/src/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl super::Current for InterfaceDeviceStatus {
123123
///
124124
/// This data is from the `/proc/net/dev` file.
125125
///
126-
/// For an example, see the [interface_stats.rs](https://github.com/eminence/procfs/tree/master/examples)
126+
/// For an example, see the [interface_stats.rs](https://github.com/eminence/procfs/tree/master/procfs/examples)
127127
/// example in the source repo.
128128
///
129129
/// Note that this returns information from the networking namespace of the

0 commit comments

Comments
 (0)