Skip to content

Commit de7bcca

Browse files
RalfJungCentril
andauthored
Apply suggestions from code review
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent 8316cec commit de7bcca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/mir/interpret/value.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -328,13 +328,13 @@ impl<'tcx, Tag> Scalar<Tag> {
328328

329329
#[inline]
330330
pub fn from_f32(f: Single) -> Self {
331-
// We trust apfloat to give us properly truncated data
331+
// We trust apfloat to give us properly truncated data.
332332
Scalar::Raw { data: f.to_bits(), size: 4 }
333333
}
334334

335335
#[inline]
336336
pub fn from_f64(f: Double) -> Self {
337-
// We trust apfloat to give us properly truncated data
337+
// We trust apfloat to give us properly truncated data.
338338
Scalar::Raw { data: f.to_bits(), size: 8 }
339339
}
340340

0 commit comments

Comments
 (0)