Skip to content

Commit 0039c86

Browse files
committed
docs: Make a slightly better comment for *Properties::duration
1 parent c675a5e commit 0039c86

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

src/aac/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl AACProperties {
3737
self.audio_object_type
3838
}
3939

40-
/// Duration
40+
/// Duration of the audio
4141
pub fn duration(&self) -> Duration {
4242
self.duration
4343
}

src/ape/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl From<ApeProperties> for FileProperties {
3535
}
3636

3737
impl ApeProperties {
38-
/// Duration
38+
/// Duration of the audio
3939
pub fn duration(&self) -> Duration {
4040
self.duration
4141
}

src/iff/wav/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl From<WavProperties> for FileProperties {
5252
}
5353

5454
impl WavProperties {
55-
/// Duration
55+
/// Duration of the audio
5656
pub fn duration(&self) -> Duration {
5757
self.duration
5858
}

src/mp4/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ impl From<Mp4Properties> for FileProperties {
166166
}
167167

168168
impl Mp4Properties {
169-
/// Duration
169+
/// Duration of the audio
170170
pub fn duration(&self) -> Duration {
171171
self.duration
172172
}

src/mpeg/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl From<MPEGProperties> for FileProperties {
4040
}
4141

4242
impl MPEGProperties {
43-
/// Duration
43+
/// Duration of the audio
4444
pub fn duration(&self) -> Duration {
4545
self.duration
4646
}

src/ogg/opus/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl From<OpusProperties> for FileProperties {
3535
}
3636

3737
impl OpusProperties {
38-
/// Duration
38+
/// Duration of the audio
3939
pub fn duration(&self) -> Duration {
4040
self.duration
4141
}

src/ogg/speex/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl From<SpeexProperties> for FileProperties {
3838
}
3939

4040
impl SpeexProperties {
41-
/// Duration
41+
/// Duration of the audio
4242
pub fn duration(&self) -> Duration {
4343
self.duration
4444
}

src/ogg/vorbis/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl From<VorbisProperties> for FileProperties {
3737
}
3838

3939
impl VorbisProperties {
40-
/// Duration
40+
/// Duration of the audio
4141
pub fn duration(&self) -> Duration {
4242
self.duration
4343
}

src/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ impl FileProperties {
4545
}
4646
}
4747

48-
/// Duration
48+
/// Duration of the audio
4949
pub fn duration(&self) -> Duration {
5050
self.duration
5151
}

src/wavpack/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ impl From<WavPackProperties> for FileProperties {
3636
}
3737

3838
impl WavPackProperties {
39-
/// Duration
39+
/// Duration of the audio
4040
pub fn duration(&self) -> Duration {
4141
self.duration
4242
}

0 commit comments

Comments
 (0)